This commit is contained in:
A.Unger
2020-01-31 13:09:07 +01:00
parent 29f4ba30cb
commit 351694d22d
6 changed files with 183 additions and 10 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
}