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