Documentation
¶
Overview ¶
Package version contains version information for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Version is the current version of the application
Version = "dev"
)
These variables are set during build time using ldflags
Functions ¶
func GetVersion ¶ added in v1.0.3
func GetVersion() string
GetVersion returns the version of the application. It first tries to use the version set by ldflags (for releases), then falls back to build info from go install (for development builds).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.