mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-12-11 18:51:05 +01:00
20 lines
193 B
Go
20 lines
193 B
Go
package util
|
|
|
|
import (
|
|
"strings"
|
|
)
|
|
|
|
var (
|
|
Ver = "undefined"
|
|
Commit = "00000000"
|
|
Date = ""
|
|
)
|
|
|
|
func Version() string {
|
|
return strings.Join([]string{
|
|
Ver,
|
|
Commit,
|
|
Date,
|
|
}, "-")
|
|
}
|