tailscale/tempfork/pprof
Eng Zer Jun f0347e841f refactor: move from io/ioutil to io and os packages
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.

Reference: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-09-15 21:45:53 -07:00
..
pprof_test.go refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
pprof.go go.mod: upgrade staticcheck to 0.1.0 2020-12-14 14:01:29 -08:00
README.md tempfork: add lite fork of net/http/pprof w/o html/template or reflect 2020-07-21 16:17:03 -07:00

This is a fork of net/http/pprof that doesn't use init side effects and doesn't use html/template (which ends up calling reflect.Value.MethodByName, which disables some linker deadcode optimizations).