version

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Fix = "1"

Fix is the Patch Version

View Source
const Maj = "0"

Maj is Major Version Number

View Source
const Min = "1"

Min is Minor Version Number

Variables

View Source
var (
	//Version is the full version string
	Version = "0.1.1"

	// GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse HEAD)"
	GitCommit string
	// GitBranch is set with --ldflags "-X main.gitBranch=$(git symbolic-ref --short HEAD)"
	GitBranch string
)

Functions

func FullVersion

func FullVersion() string

FullVersion outputs version information

Types

This section is empty.

Jump to

Keyboard shortcuts

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