Files
opencloud/accounts/pkg/version/version.go
A.Unger 30b2756137 Add 'accounts/' from commit 'e55b8ae2f440e20e657fdc21827b935f64bd8458'
git-subtree-dir: accounts
git-subtree-mainline: fd66380082
git-subtree-split: e55b8ae2f4
2020-09-22 14:49:55 +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
}