version

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// URL is the git URL for the repository
	URL = "github.com/p9c/interrupt"
	// GitRef is the gitref, as in refs/heads/branchname
	GitRef = "refs/heads/main"
	// GitCommit is the commit hash of the current HEAD
	GitCommit = "414c50cbd74ceeea90b540684b1306a14866894f"
	// BuildTime stores the time when the current binary was built
	BuildTime = "2021-04-30T20:33:25+02:00"
	// Tag lists the Tag on the build, adding a + to the newest Tag if the commit is
	// not that commit
	Tag = "v0.0.6+"
	// PathBase is the path base returned from runtime caller
	PathBase = "/home/loki/src/github.com/p9c/pod/pkg/interrupt/"
	// Major is the major number from the tag
	Major = 0
	// Minor is the minor number from the tag
	Minor = 0
	// Patch is the patch version number from the tag
	Patch = 6
	// Meta is the extra arbitrary string field from Semver spec
	Meta = ""
)
View Source
var F, E, W, I, D, T log.LevelPrinter

Functions

func Get

func Get() string

Get returns a pretty printed version information string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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