version

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 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/cybriq/p9"
	// GitRef is the gitref, as in refs/heads/branchname
	GitRef = "refs/heads/main"
	// GitCommit is the commit hash of the current HEAD
	GitCommit = "82032df73e757da81fff939e90ed2ed86f7c0a5c"
	// BuildTime stores the time when the current binary was built
	BuildTime = "2022-04-13T01:43:43+03: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-0+"
	// PathBase is the path base returned from runtime caller
	PathBase = "/home/loki/code/p9/"
	// 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 = "-0"
)
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