Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶
type Info struct {
GitVersion string `json:"gitVersion"`
GitCommit string `json:"gitCommit"`
GitTreeState string `json:"gitTreeState"`
GitTime time.Time `json:"gitTime"`
BuildDate string `json:"buildDate"`
GoVersion string `json:"goVersion"`
Compiler string `json:"compiler"`
Platform string `json:"platform"`
Race bool `json:"race"`
}
store information about build and version
func (Info) PrettyColorful ¶
Pretty returns pretty string with version and build information with colors
Click to show internal directories.
Click to hide internal directories.