Documentation
¶
Overview ¶
Package build provides the version and build metadata for the running binary, set with ldflags at build time and falling back to version.json and the VCS revision embedded by the compiler for development builds.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the current version of the application, including the VCS // revision (e.g. "v0.1.0-abc1234"). Version string // Commit is the git commit hash. Commit = "unknown" // Date is the build date in UTC. Date = "unknown" // BuiltBy indicates what built this binary. BuiltBy = "unknown" )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.