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"
|
"github.com/google/uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var GitCommit string
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
admin := flag.Bool("admin", false, "enable admin console")
|
admin := flag.Bool("admin", false, "enable admin console")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
@ -27,7 +29,7 @@ func main() {
|
|||||||
log.SetOutput(file)
|
log.SetOutput(file)
|
||||||
go console(c)
|
go console(c)
|
||||||
}
|
}
|
||||||
|
log.Printf("starting tome_ws, commit %v", GitCommit)
|
||||||
c.Start()
|
c.Start()
|
||||||
Serve(c)
|
Serve(c)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user