add version string
This commit is contained in:
parent
b374f4e1bd
commit
828c4e0e37
4
main.go
4
main.go
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user