Files
opencloud/store/pkg/version/version.go
A.Unger 9366a03a8c Add 'store/' from commit '25456c4ff9247828b6e1eb733ab10712747264d4'
git-subtree-dir: store
git-subtree-mainline: 6e4c6a875a
git-subtree-split: 25456c4ff9
2020-09-18 12:39:05 +02: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
}