package version

import "fmt"

// GitHash is the git hash and the value will be injected when compile stage.
// see: build scripts
var GitHash = "Unknown"

// GitBranch is the working branch when building the binary
var GitBranch = "Unknown"

// GetVersion returns the version in a string
func GetVersion() string {
	return fmt.Sprintf("%s (@%s)", GitHash, GitBranch)
}
