Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildDate string
BuildDate provides the date that the CLI was built.
View Source
var GitBranch string
GitBranch provides the branch that was checked out at the time of build.
View Source
var GitCommit string
GitCommit provides the current commit at the time of build.
View Source
var GitState string
GitState provides the state of the Git project at the time of build.
View Source
var GitSummary string
GitSummary provides the summary of the Git project at the time of build.
View Source
var Version string
Version provides the human-friendly version of the build.
Functions ¶
func IsDevelopment ¶
func IsDevelopment() bool
IsDevelopment returns true if the Version is not set.
func IsLatest ¶
func IsLatest() bool
IsLatest returns true if the current version is the latest and false if it is not.
func LatestVersion ¶
func LatestVersion() string
LatestVersion determines the latest version and returns it as a string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.