16 lines
259 B
Go
16 lines
259 B
Go
package version
|
|
|
|
var (
|
|
// Version is the application version.
|
|
Version = "dev"
|
|
|
|
// Commit is the git commit hash.
|
|
Commit = "none"
|
|
|
|
// Date is the build date.
|
|
Date = "unknown"
|
|
)
|
|
|
|
func String() string {
|
|
return Version + " (" + Commit + ", " + Date + ")"
|
|
} |