/ go Public
x/website, x/pkgsite: net/http.ServeMux.Handle example reads poorly if shown as a complete program #40103
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
Does this issue reproduce with the latest release?
In current package documentation at https://golang.org/pkg/net/http/#example_ServeMux_Handle
What operating system and processor architecture are you using (
What did you expect to see?
Expected example to initiate http.ListenAndServe or equivalent with new ServeMux
What did you see instead?
The example immediately exits without serving
I'd be happy to work on this for my first contribution if accepted
The text was updated successfully, but these errors were encountered: