Documentation
¶
Overview ¶
Package version supplies version information collected at build time to applications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitVersion = "v0.0.0-master+$Format:%h$" BuildDate = "1970-01-01T00:00:00Z" GitCommit = "$Format:%H$" 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 包含了版本信息.
Click to show internal directories.
Click to hide internal directories.