version

package
v0.0.3 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 = "49c260b36b2fa7567be0392c1a1009d1c74db759"
	// BuildTime stores the time when the current binary was built
	BuildTime = "2021-04-30T18:21:49+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.2"
	// 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 = 2
	// 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