title: Getting the URL parameter in Go issue
body: <p>I have a URL that looks something like this: <a href="http://localhost/templates/verify?key=ijio" rel="nofollow">http://localhost/templates/verify?key=ijio</a></p>
  
  <p>My router looks like this: </p>
  
  <pre><code>import (
  "github.com/gorilla/mux"
  "github.com/justinas/alice"
  )
  
  ctx := &amp;model.AppContext{db, cfg} // passes in database and config
  verifyUser := controller.Verify(ctx)
  mx.Handle("/verify", commonHandlers.ThenFunc(verifyUser)).Methods("GET").Name("verify")
  </code></pre>
  
  <p>I want to get the key parameter out of the URL, so I use the following code: </p>
  
  <pre><code>func Verify(c *model.AppContext) http.HandlerFunc {
      fn := func(w http.ResponseWriter, r *http.Request) {
  
      key := r.URL.Query().Get("key") // gets the hash value that was placed in the URL
      log.Println(key) // empty key
      log.Println(r.URL.Query()) // returns map[]
      // code that does something with key and sends back JSON response
     }
  }
  </code></pre>
  
  <p>I used AngularJS to get the JSON data:</p>
  
  <pre><code>app.controller("verifyControl", ['$scope', '$http', function($scope, $http) {
      $scope.message = "";
      $http({
        method: 'GET',
        url: "/verify"
      }).success(function(data) {
           $scope.message = data.msg; // JSON response 
     });
  
    }]);
  </code></pre>
  
  <p>However, I end up with an empty key variable when I try to print it out. I recently used nginx to take out my .html extension if that's a possible cause of this problem. How do I fix this? </p>