meta

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommitMessage

func GetCommitMessage() string

GetCommitMessage returns the commit message of the commit used to build the binary.

func GetVersion

func GetVersion() string

GetVersion returns the version of the application. If it is tagged it will be the semver, otherwise it will contain the number of commits since the last one, the short hash of the commit and whether or not the directory was dirty at build time.

func GetVersionLong

func GetVersionLong() string

GetVersionLong returns what GetVersion returns but will always return the long version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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