title: Remove the .html extension from every file in a simple HTTP server
body: <p>I want to make it so when someone visits a page on my Go HTTP server, they won't see the <code>.html</code> extension.
  E.g. when they visit <code>https://example.org/test</code> they will see the content of <code>https://example.org/test.html</code>.</p>
  
  <p>My code:</p>
  
  <pre class="lang-golang prettyprint-override"><code>package main
  
  import (
      "net/http"
  )
  
  func main() {
      fs := http.FileServer(http.Dir("public/"))
  
      http.Handle("/", http.StripPrefix("/", fs))
      http.ListenAndServe(":8000", nil)
  }
  </code></pre>