This commit is contained in:
A.Unger
2021-02-04 12:23:11 +01:00
parent 6cfbec91e2
commit 68957acc0d
63 changed files with 61 additions and 922 deletions
+19
View File
@@ -0,0 +1,19 @@
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
}