You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
313 B
18 lines
313 B
package main |
|
|
|
import ( |
|
"fmt" |
|
) |
|
|
|
var ( |
|
// Version release version |
|
Version = "0.0.1" |
|
|
|
// GitCommit will be overwritten automatically by the build system |
|
GitCommit = "HEAD" |
|
) |
|
|
|
// FullVersion returns the full version and commit hash |
|
func FullVersion() string { |
|
return fmt.Sprintf("%s@%s", Version, GitCommit) |
|
}
|
|
|