package
Version:
v1.5.1-hotfix.2
Opens a new window with list of versions in this module.
Published: Nov 23, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
LogVersionInfo print version info at startup
PrintVersionInfo show version info to Stdout
func SetVersionSuffix(suffix string)
SetVersionSuffix sets version suffix.
type Info struct {
GitVersion string `json:"gitVersion"`
GitCommit string `json:"gitCommit"`
GitTreeState string `json:"gitTreeState"`
BuildDate string `json:"buildDate"`
GoVersion string `json:"goVersion"`
Compiler string `json:"compiler"`
Platform string `json:"platform"`
}
Info contains versioning information.
Get returns the overall codebase version. It's for detecting
what code a binary was built from.
String returns info as a human-friendly version string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.