Browse Source

added logging line when using http profile info

I could never remember the url, so I print it out now.
master
Stephen McQuay 6 years ago
parent
commit
67ad90d7a4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      main.go

+ 1
- 0
main.go View File

@ -46,6 +46,7 @@ func main() {
go func() {
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)}

Loading…
Cancel
Save