Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GitVersion is a semantic version number GitVersion = "v0.0.0-master+$Format:%h$" // BuildDate format is ISO8601 BuildDate = "1970-01-01T00:00:00Z" // GitCommit is the commit hash GitCommit = "$Format:%H$" // GitTreeState is the state of Git repository during the build // 'clean' means no uncommitted changes // 'dirty' means there are uncommitted changes GitTreeState = "" )
Functions ¶
This section is empty.
Types ¶
type Info ¶
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 include the version info
Click to show internal directories.
Click to hide internal directories.