Files
opencloud/pkg/version/version.go
Jörn Friedrich Dreyer 6702be7f90 wip
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2019-12-17 17:05:03 +01:00

20 lines
296 B
Go

package version
import (
"time"
)
var (
// String gets defined by the build system.
String = "0.0.0"
// Date indicates the build date.
Date = "00000000"
)
// Compiled returns the compile time of this service.
func Compiled() time.Time {
t, _ := time.Parse("20060102", Date)
return t
}