version

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildDate = ""

BuildDate returns the date the binary was built Note: will be replaced by goreleaser

View Source
var FullVersion = fmt.Sprintf("%s Build %s (Commit %s) Go %s [%s]",
	Version, BuildDate, GitCommit, GoVersion, OsArch)

FullVersion can be used for more detailed version info

View Source
var GitCommit string

GitCommit returns the git commit that was compiled. Note: will be replaced by goreleaser

View Source
var GoVersion = runtime.Version()

GoVersion returns the version of the go runtime used to compile the binary

View Source
var OsArch = fmt.Sprintf("%s %s", runtime.GOOS, runtime.GOARCH)

OsArch returns the os and arch used to build the binary

View Source
var Version = "1.0.0-DEV"

Version returns the main version number that is being run at the moment. Note: will be replaced by goreleaser

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