version

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version represents the main version number.
	//
	// Read-only.
	Version = "1.25.0"

	// Prerelease represents an optional pre-release label for the version.
	// If this is "" (empty string) then it means that it is a final release.
	// Otherwise, this is a pre-release such as "beta", "rc1", etc.
	//
	// Read-only.
	Prerelease = ""

	// SemVer is an instance of SemVer version (https://semver.org/) used to
	// verify that the full version is a proper semantic version.
	//
	// Populated at runtime.
	// Read-only.
	SemVer *version.Version
)

Functions

func String added in v1.14.1

func String() string

String returns the complete version string, including prerelease and metadata.

Types

This section is empty.

Jump to

Keyboard shortcuts

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