package hook import "net/http" import _ "net/http/pprof" func Prof () { go func () { err := http.ListenAndServe("localhost:9090", nil) if err != nil { panic(err.Error()) } } () }