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 *http.Request
vars := mux.Vars(r)
user := vars["user"]
fmt.Print(user)
mux grabs the whole url parameter string like the following print out.
"user=username"
I'm wondering if it's possible to simply grab the value (username), or if I need to do regex to get the username.
Thanks for any help!!