runtime

package
v0.12.8 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2018 License: MIT Imports: 3 Imported by: 9

Documentation

Index

Constants

View Source
const Version = "v0.12.8"

Version is the current version of the buffalo binary

Variables

This section is empty.

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
	Time    time.Time
}

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
y or Y : Canonical URL