Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" // Overridden by the Git tag or dev version string Commit = "none" // Overridden by the Git commit hash Branch = "unknown" // Overridden by the Git branch name BuildDate = "unknown" // Overridden by the build timestamp )
These variables are populated by the Go linker during the build process.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
Version string `json:"version"`
Commit string `json:"commit"`
Branch string `json:"branch"`
BuildDate string `json:"buildDate"`
GoVersion string `json:"goVersion"`
Compiler string `json:"compiler"`
Platform string `json:"platform"`
}
Info holds all the versioning information.
Click to show internal directories.
Click to hide internal directories.