Permalink
Browse files

Don't use http.DefaultServeMux.

  • Loading branch information...
1 parent 5d32751 commit ebdfb8b8c1ecaee20a08403a3c6310eafe112908 @cespare committed Feb 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 apachelog.go
View
@@ -10,7 +10,7 @@ good to go.
Example:
- mux := http.DefaultServeMux
+ mux := http.NewServeMux()
mux.HandleFunc("/", handler)
loggingHandler := apachelog.NewHandler(mux, os.Stderr)
server := &http.Server{

0 comments on commit ebdfb8b

Please sign in to comment.