mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 23:02:52 +01:00
17 lines
234 B
Go
17 lines
234 B
Go
package build
|
|
|
|
import "fmt"
|
|
|
|
var Version string
|
|
var Hash string
|
|
|
|
const Series = "v0.3"
|
|
|
|
func String() string {
|
|
if Version != "" {
|
|
return fmt.Sprintf("%v [%v]", Version, Hash)
|
|
} else {
|
|
return Series + ".x [developer build]"
|
|
}
|
|
}
|