Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Version will be set by GoReleaser during builds
Functions ¶
func GetVersion ¶
func GetVersion() string
GetVersion returns the current version of the application. If version is not set via ldflags, it will try to get it from Go's build info. If that fails, it returns "unknown". The version string will have any leading "v" prefix removed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.