version

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CgoEnabled 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
}

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