# Functions
GetBuildDate returns the build date for the binary.
GetGoVersion returns the version of go used to build the binary.
GetRevision returns the short SHA1 hashes given a given revision.
GetSemverVersion returns a semver.Version struct representing the current version.
GetTreeState returns the state of the working tree.
GetVersion gets the current version string.
StringDefault returns the current version string or returns a dummy default value if there is an error.
# Constants
ExampleVersion shows an example version in the help if no version could be found (which should never really happen!).
TestBuildDate can be used in tests if no build date is passed in the test flags.
TestGoVersion can be used in tests if no version is passed in the test flags.
TestRevision can be used in tests if no revision is passed in the test flags.
TestTreeState can be used in tests if no tree state is passed in the test flags.
TestVersion used in test cases for the current version if no version can be found - such as if the version property is not properly included in the go test flags.
VersionPrefix string for setting pre-release etc.