title: Golang get mux value
body: <p>I'm new to go. I'm using mux and trying to parse out a url parameter. I have the following code where r is a <code>*http.Request</code></p>
  <pre><code>vars := mux.Vars(r)
  user := vars[&quot;user&quot;]
  fmt.Print(user)
  </code></pre>
  <p>mux grabs the whole url parameter string like the following print out.</p>
  <blockquote>
  <p>&quot;user=username&quot;</p>
  </blockquote>
  <p>I'm wondering if it's possible to simply grab the value (<code>username</code>), or if I need to do regex to get the username.</p>
  <p>Thanks for any help!!</p>