version

package module
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2020 License: ISC Imports: 3 Imported by: 5 modules, 5 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Major = 1
	Minor = 5
	Patch = 1
)

Constants defining the application version number.

View Source
const Integer = 1000000*Major + 10000*Minor + 100*Patch

Integer is an integer encoding of the major.minor.patch version.

Variables

View Source
var BuildMetadata = "release.local"

BuildMetadata defines additional build metadata. It is modified at link time for official releases. It must only contain characters from the semantic version alphabet.

View Source
var PreRelease = ""

PreRelease contains the prerelease name of the application. It is a variable so it can be modified at link time (e.g. `-ldflags "-X github.com/decred/dcrwallet/version.PreRelease=rc1"`). It must only contain characters from the semantic version alphabet.

Functions

func String

func String() string

String returns the application version as a properly formed string per the semantic versioning 2.0.0 spec (https://semver.org/).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL