Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ReleaseVersion is the current program version. ReleaseVersion = "Unknown" // BuildTimestamp is the UTC date time when the program is compiled. BuildTimestamp = "Unknown" // GitHash is the git commit hash when the program is compiled. GitHash = "Unknown" // GitBranch is the active git branch when the program is compiled. GitBranch = "Unknown" // GoVersion is the Go compiler version used to compile this program. GoVersion = "Unknown" )
Functions ¶
func LogLongVersion ¶
LogLongVersion logs the version information of this program to the logger.
func LongVersion ¶
func LongVersion() string
LongVersion returns the version information of this program as a string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.