version

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

App application name

View Source
var BuiltAt string

BuiltAt date and time of the build

View Source
var BuiltBy string

BuiltBy built by email

View Source
var Commit string

Commit the most recent commit from which this version has been built

View Source
var Static string

Static flags the binary as statically linked

View Source
var Version string

Version holds the version

Functions

func StaticBuild added in v0.6.2

func StaticBuild() bool

StaticBuild set the flag which marks the binary as statically linked

func VersionCmd

func VersionCmd() *cobra.Command

VersionCmd returns a new version command

func VersionStr added in v0.6.1

func VersionStr() string

VersionStr formats and returns the version string

Types

This section is empty.

Jump to

Keyboard shortcuts

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