Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "unknown" Date = "unknown" GoVersion = runtime.Version() )
These will be set by GoReleaser at build time
Functions ¶
func GetFullVersion ¶
func GetFullVersion() string
GetFullVersion returns a detailed version string
Example: "v1.0.0 (commit: a1b2c3d4, built: 2023-01-01T00:00:00Z, go: go1.19.1)"
func GetVersion ¶
func GetVersion() string
GetVersion returns just the version string
Example: "v1.0.0" or "dev-a1b2c3d4"
Types ¶
Click to show internal directories.
Click to hide internal directories.