package
1.16.0
Repository: https://github.com/lerenn/cryptellation.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CommitHash returns a string representing the current commitHash.
No description provided by the author
FullVersion returns a string representing the version and commit hash concatenated separated by a - returns only the version if the commit hash is not defined.
No description provided by the author
SetCommitHash sets the commit hash of the application to the value provided as hash empty values are accepted.
No description provided by the author
SetFromGit sets the commit hash and the version from the last git.
SetVersion sets the version to tha value provided as ver unless ver is empty.
No description provided by the author
Version returns a string representing the current version.
No description provided by the author

# Constants

DefaultHash is the default hash if there is no hash provided.
DefaultVersion is the default version if there is no hash provided.