Files
opencloud/glauth/pkg/version/version.go
A.Unger 05b1e15464 Add 'glauth/' from commit '0735ec933777cb5fd1427c5311dcb6712def476d'
git-subtree-dir: glauth
git-subtree-mainline: d6733b47cc
git-subtree-split: 0735ec9337
2020-09-18 12:45:18 +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
}