version

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Mark = `+----------------------+------------------------------------------+`

Variables

View Source
var (
	UTCBuildTime  = "unknown"
	ClientVersion = "unknown"
	GoVersion     = "unknown"
	GitBranch     = "unknown"
	GitTag        = "unknown"
	GitHash       = "unknown"
)

These variables are populated via the Go linker.

View Source
var Version = fmt.Sprintf("%s\n%s\n| % -20s | % -40s |\n| % -20s | % -40s |\n| % -20s | % -40s |\n| % -20s | % -40s |\n| % -20s | % -40s |\n| % -20s | % -40s |\n%s\n",
	logo,
	Mark,
	"Client Version", ClientVersion,
	"Go Version", GoVersion,
	"UTC Build Time", UTCBuildTime,
	"Git Branch", GitBranch,
	"Git Tag", GitTag,
	"Git Hash", GitHash,
	Mark)

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