mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-24 22:06:43 +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,
|
||
|
}, "-")
|
||
|
}
|