Documentation
¶
Overview ¶
Package version provides version information for spotctl.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the semantic version of the build Version = "dev" // Commit is the git commit hash of the build Commit = "" // BuildDate is the date when the binary was built BuildDate = "" // GoVersion is the version of Go used to build the binary GoVersion = runtime.Version() )
These variables are set via ldflags during build time
Functions ¶
func GetVersion ¶
func GetVersion() string
GetVersion returns the version string (just the version/tag)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.