debug.go 139 B

12345678910
  1. package debug
  2. import _ "net/http/pprof"
  3. import "net/http"
  4. func init() {
  5. go func() {
  6. http.ListenAndServe("localhost:6060", nil)
  7. }()
  8. }