version

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// BuildTime is a time label of the moment when the binary was built. Sets at compile-time.
	BuildTime = "unset"
	// Commit is a last commit hash at the moment when the binary was built. Sets at compile-time.
	Commit = "unset"
)

Functions

func GetBuildInfo

func GetBuildInfo() (string, string)

GetBuildInfo returns build time and commit hash.

Types

This section is empty.

Jump to

Keyboard shortcuts

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