runtime

package
Version: v0.17.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2021 License: MIT Imports: 3 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "v0.17.3"

Version is the current version of the buffalo binary

Functions

func SetBuild

func SetBuild(b BuildInfo)

SetBuild allows the setting of build information only once. This is typically managed by the binary built by `buffalo build`.

Types

type BuildInfo

type BuildInfo struct {
	Version string    `json:"version"`
	Time    time.Time `json:"-"`
}

BuildInfo holds information about the build

func Build

func Build() BuildInfo

Build returns the information about the current build of the application. In development mode this will almost always run zero values for BuildInfo.

func (BuildInfo) String

func (b BuildInfo) String() string

String implements fmt.String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL