We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6b8e30 commit c14b6f4Copy full SHA for c14b6f4
example/main.go
@@ -25,7 +25,9 @@ func main() {
25
// Run http endpoints for both pprof and fgprof.
26
http.DefaultServeMux.Handle("/debug/fgprof", fgprof.Handler())
27
go func() {
28
- log.Println(http.ListenAndServe("localhost:6060", nil))
+ addr := "localhost:6060"
29
+ log.Printf("Listening on %s", addr)
30
+ log.Println(http.ListenAndServe(addr, nil))
31
}()
32
33
// Start a sleep server to help with simulating slow network requests.
0 commit comments