Documentation
¶
Overview ¶
TODO: get runtime build/git info see: https://github.com/lightningnetwork/lnd/blob/master/build/version.go#L66 https://raw.githubusercontent.com/lightningnetwork/lnd/refs/heads/master/build/version.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Describe stores the current commit of this build, which includes the // most recent tag, the number of commits since that tag (if non-zero), // the commit hash, and a dirty marker. This should be set using the // -ldflags during compilation. Describe string // CommitHash stores the current commit hash of this build. CommitHash string // RawTags contains the raw set of build tags, separated by commas. RawTags string // GoVersion stores the go version that the executable was compiled // with. GoVersion string )
These constants define the application version and follow the semantic versioning 2.0.0 spec (http://semver.org/).
Functions ¶
func Tags ¶
func Tags() []string
Tags returns the list of build tags that were compiled into the executable.
func Version ¶
func Version() string
Version returns the application version as a properly formed string per the semantic versioning 2.0.0 spec (http://semver.org/).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.