Semaphore/util/version.go

20 lines
193 B
Go
Raw Permalink Normal View History

package util
import (
"strings"
)
var (
Ver = "undefined"
Commit = "00000000"
Date = ""
)
func Version() string {
return strings.Join([]string{
Ver,
Commit,
Date,
}, "-")
}