Documentation ¶
Overview ¶
Package version provides build time version information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildInfo ¶
type BuildInfo struct { Version string `json:"version"` GitRevision string `json:"revision"` GitBranch string `json:"branch"` User string `json:"user"` Host string `json:"host"` GolangVersion string `json:"golang_version"` }
BuildInfo describes version information about the binary build.
var ( // Info exports the build version information. Info BuildInfo )
Click to show internal directories.
Click to hide internal directories.