Semaphore/util/version.go

20 lines
193 B
Go
Raw Normal View History

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