mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-27 02:52:14 +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,
|
||
|
}, "-")
|
||
|
}
|