mirror of
https://git.mills.io/prologic/zs.git
synced 2024-09-07 12:44:15 -04:00
19 lines
298 B
Go
19 lines
298 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
// Version release version
|
||
|
Version = "0.0.1"
|
||
|
|
||
|
// Commit will be overwritten automatically by the build system
|
||
|
Commit = "HEAD"
|
||
|
)
|
||
|
|
||
|
// FullVersion display the full version and build
|
||
|
func FullVersion() string {
|
||
|
return fmt.Sprintf("%s@%s", Version, Commit)
|
||
|
}
|