Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildDate string
BuildDate is the string of binary build date
View Source
var GitCommit string
GitCommit is the string of git commit ID
View Source
var GitVersion string
GitVersion is the string of git version tag
View Source
var Version = "edge"
Version is the string that contains version
Functions ¶
func GetVersion ¶
func GetVersion() string
GetVersion returns the version for cli, either got from "git describe --tags" or "dev" when doing simple go build
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.