Documentation ¶
Overview ¶
Package version handles the version information for the guardian cli
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Name = valueOrFallback(name, func() string { return "guardian" }) Version = valueOrFallback(version, buildinfo.Version) Commit = valueOrFallback(commit, buildinfo.Commit) // OSArch is the operating system and architecture combination. OSArch = buildinfo.OSArch() // HumanVersion is the compiled version. HumanVersion = Name + " " + Version + " (" + Commit + ", " + OSArch + ")" UserAgent = valueOrFallback(userAgent, func() string { return "abcxyz:" + Name + "/" + Version + " (+https://github.com/abcxyz/guardian)" }) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.