mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-12-04 15:21: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,
|
||
|
}, "-")
|
||
|
}
|