Print githash and build time at startup

This commit is contained in:
WithoutPants
2019-08-21 14:07:25 +10:00
parent 32a4f34c7c
commit 4983437a34
3 changed files with 34 additions and 9 deletions

12
scripts/getDate.go Normal file
View File

@@ -0,0 +1,12 @@
// +build ignore
package main
import "fmt"
import "time"
func main() {
now := time.Now().Format("2006-01-02 15:04:05")
fmt.Printf("%s", now)
}