Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitVersion = "v0.0.0" GitCommit = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) GitTreeState = "" // state of git tree, either "clean" or "dirty" BuildDate = "1970-01-01T00:00:00Z" // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ') )
Functions ¶
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 contains versioning information.
Click to show internal directories.
Click to hide internal directories.