title: How to handle per-request context with net/http
body: <p>The first half of <a href="https://stackoverflow.com/a/26754076/13860">this answer</a> demonstrates a pattern for sharing some per-request context between two handler methods. Sort of.</p>
  
  <p>I'm looking for a way to do basically this, but with more than two handlers.</p>
  
  <p>Imagine I need to call three (or more) <code>http.HandlerFunc</code>s with the same per-request context:</p>
  
  <ul>
  <li>Auth()</li>
  <li>DoStuff()</li>
  <li>OutputHTML()</li>
  </ul>
  
  <p>Without resorting to a global map (e.g. gorilla/mux), is there any way, using the standard <code>http.Handler</code> interface, to pass per-request context between these functions?</p>