Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func PrintVersionOrContinue ¶
func PrintVersionOrContinue()
PrintVersionOrContinue will print git commit and exit with os.Exit(0) if CLI v flag is present.
Types ¶
type Info ¶
type Info struct {
Version string `json:"version"`
GitBranch string `json:"gitBranch"`
GitCommit string `json:"gitCommit"`
GitTreeState string `json:"gitTreeState"`
BuildTime string `json:"buildTime"`
GoVersion string `json:"goVersion"`
Compiler string `json:"compiler"`
Platform string `json:"platform"`
}
Click to show internal directories.
Click to hide internal directories.