title: Difference between http and default servemux?
body: <p>What's the difference between this:</p>
  
  <pre><code>func main() {
  
    http.HandleFunc("/page2", Page2)
    http.HandleFunc("/", Index)
    http.ListenAndServe(":3000", nil)
  }
  </code></pre>
  
  <p>And using the golang serve mux</p>
  
  <pre><code>func main() {
    mux := http.NewServeMux()
  
    mux.HandleFunc("/page2", Page2)
    mux.HandleFunc("/", Index)
    http.ListenAndServe(":3000", mux)
  }
  </code></pre>