added logging line when using http profile info
I could never remember the url, so I print it out now.
This commit is contained in:
parent
0959be2df2
commit
67ad90d7a4
1
main.go
1
main.go
@ -46,6 +46,7 @@ func main() {
|
|||||||
go func() {
|
go func() {
|
||||||
log.Println(http.ListenAndServe("localhost:8667", nil))
|
log.Println(http.ListenAndServe("localhost:8667", nil))
|
||||||
}()
|
}()
|
||||||
|
log.Println("serving profile info at http://localhost:8667/debug/pprof/")
|
||||||
}
|
}
|
||||||
|
|
||||||
games = MapLock{m: make(map[string]*game)}
|
games = MapLock{m: make(map[string]*game)}
|
||||||
|
Loading…
Reference in New Issue
Block a user