| 1 | package main |
| 2 | |
| 3 | import ( |
| 4 | "net/http" |
| 5 | ) |
| 6 | |
| 7 | func main() { |
| 8 | http.DefaultServeMux.HandleFunc("/hello", func(w http.ResponseWriter, r *http.Request) {}) |
| 9 | http.DefaultServeMux = &http.ServeMux{} |
| 10 | http.DefaultServeMux.HandleFunc("/hello", func(w http.ResponseWriter, r *http.Request) {}) |
| 11 | http.DefaultServeMux = &http.ServeMux{} |
| 12 | } |