Documentation ¶
Index ¶
Constants ¶
View Source
const ( Major uint = 1 Minor uint = 2 Patch uint = 0 )
These constants define the application version and follow the semantic versioning 2.0.0 spec (http://semver.org/).
Variables ¶
View Source
var ( // PreRelease is defined as a variable so it can be overridden during // the build process with '-ldflags "-X github.com/Qitmeer/qitmeer/version.PreRelease=foo"' if // needed. It MUST only contain characters from semanticAlphabet per // the semantic versioning spec. PreRelease = "" // appBuild is defined as a variable so it can be overridden during the // build process with '-ldflags "-X github.com/Qitmeer/qitmeer/version.Build=foo"' if needed. It // MUST only contain characters from semanticBuildAlphabet per the // semantic versioning spec. Build = "dev" )
Functions ¶
func String ¶
func String() 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.