Documentation ¶
Overview ¶
Package meta expose information about the application like the version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SemVer = "" // SemVer is the target version, set during build with ld-flags Snapshot = "true" // Snapshot is overridden by ld-flags, set to true, it will show the GIT status from where the bin has been built )
View Source
var (
BuildVersion = BuildStat{}
)
Functions ¶
func Version ¶
func Version() string
Version returns the version of the app, updated by ci/pre-release.sh
func VersionOrDefault ¶ added in v1.5.7
Types ¶
type BuildStat ¶ added in v1.5.2
func (BuildStat) GitInfoParts ¶ added in v1.5.7
Click to show internal directories.
Click to hide internal directories.