version

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Whether cgo is enabled or not; set at build time
	CgoEnabled bool

	Version     = "unknown"
	VPrerelease = "unknown"
	VMetadata   = ""
)

Functions

This section is empty.

Types

type VInfo

type VInfo struct {
	Revision    string
	Version     string
	VPrerelease string
	VMetadata   string
}

VInfo

func GetVersion

func GetVersion() *VInfo

func (*VInfo) FullVersionNumber

func (c *VInfo) FullVersionNumber(rev bool) string

func (*VInfo) VersionNumber

func (c *VInfo) VersionNumber() string

Jump to

Keyboard shortcuts

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