Host pprof at localhost:8888 in one line
ez | ||
go.mod | ||
LICENSE | ||
README.md |
ezprof
Host pprof at localhost:8888. In any Go file, put:
import "git.tebibyte.media/sashakoshka/ezprof/ez"
func main () {
...
ez.Prof()
...
}
And you will be able to connect to your program with the pprof tool.