Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildDate = ""
BuildDate returns the date the binary was built Note: will be replaced by goreleaser
View Source
var FullVersion = fmt.Sprintf("%s Build %s (Commit %s) Go %s [%s]", Version, BuildDate, GitCommit, GoVersion, OsArch)
FullVersion can be used for more detailed version info
View Source
var GitCommit string
GitCommit returns the git commit that was compiled. Note: will be replaced by goreleaser
View Source
var GoVersion = runtime.Version()
GoVersion returns the version of the go runtime used to compile the binary
OsArch returns the os and arch used to build the binary
View Source
var Version = "1.0.0-DEV"
Version returns the main version number that is being run at the moment. Note: will be replaced by goreleaser
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.