version

package
v0.0.0-...-168a2c3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Fix = "5-rc1"

Fix fix semver version

View Source
const Maj = "0"

Maj major semver version

View Source
const Min = "4"

Min minor semver version

Variables

View Source
var (
	// GitCommit is set with: -ldflags "-X main.gitCommit=$(git rev-parse HEAD)"
	GitCommit string

	// Version the full version string
	Version = strings.Join([]string{Maj, Min, Fix}, ".") + dashPrependAndSliceOn(GitCommit != "", GitCommit)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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