This section is empty.
var ( // Version variable will be replaced at link time after `make` has been run. Version = "latest" // GitHash variable will be replaced at link time after `make` has been run. GitHash = "<NOT PROPERLY GENERATED>" // BuildType should be one of (dev, release). BuildType = buildDev )
InfoVar is a singleton instance of the Info struct.
func IsDevBuild ¶
func IsDevBuild() bool
IsDevBuild returns true if this is a development (local) build.
type Info string
Info has properties about the build and runtime.
func RuntimeVar ¶
func RuntimeVar() Info
RuntimeVar returns the InfoVar plus runtime information like uptime.