Documentation ¶
Index ¶
Constants ¶
View Source
const ENV_LOCATION = "LOCATION"
View Source
const Program = "dummyapp"
Variables ¶
View Source
var BuildTime string
View Source
var VersionString = "0.0.2-barebuild"
VersionString is overridden at link-time, if using the Makefile. If you see x.y.z output from the version command then that should mean 'x.y.z'; if you see 'x.y.z-barebuild' then it's a hint that the version number is merely whatever was in source, not authoritatively stamped in later; this could thus be a build from any of a range of commits.
Functions ¶
func CurrentVersion ¶
func CurrentVersion() string
Pull the version derivation from whatever variables go into the makeup out into a function so that we can log it at startup.
Types ¶
Click to show internal directories.
Click to hide internal directories.