add version string

This commit is contained in:
stryan 2021-10-07 14:58:47 -04:00
parent b374f4e1bd
commit 828c4e0e37
1 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ import (
"github.com/google/uuid"
)
var GitCommit string
func main() {
admin := flag.Bool("admin", false, "enable admin console")
flag.Parse()
@ -27,7 +29,7 @@ func main() {
log.SetOutput(file)
go console(c)
}
log.Printf("starting tome_ws, commit %v", GitCommit)
c.Start()
Serve(c)
}