Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: typo in doc/diagnostics.html #22832

Closed
reillywatson opened this issue Nov 21, 2017 · 1 comment
Closed

doc: typo in doc/diagnostics.html #22832

reillywatson opened this issue Nov 21, 2017 · 1 comment

Comments

@reillywatson
Copy link
Contributor

The section about serving pprof on a different path and port has this text:

For example, the following example will serve the pprof.Profile handler on :7777 at /pprof/profile:

mux := http.NewServeMux()
mux.HandleFunc("/custom_debug_path/profile", pprof.Profile)
http.ListenAndServe(":7777", mux)

/pprof/profile should be /custom_debug_path/profile.

@gopherbot
Copy link

Change https://golang.org/cl/79035 mentions this issue: doc: fix some typos in diagnostics.html

@golang golang locked and limited conversation to collaborators Nov 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants