package util import ( "fmt" "net/http" _ "net/http/pprof" ) func init() { go func() { fmt.Println("pprof running on %d", 6060) http.ListenAndServe("0.0.0.0:6060", nil) }() }