FAQ
How do I get all query string keys and values via Golang's http package?
Assume I've got a URI like: http://localhost:8080?a=1&b=2

request.URI.Query()

seems to only return the first pair.

--
--
rottmann.net | Google+ <https://plus.google.com/106658337982640166595> |
Twitter <http://twitter.com/ralf> | Facebook<http://www.facebook.com/ralfrottmann>|
LinkedIn <http://de.linkedin.com/in/rottmann>

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMar 31, '14 at 1:08p
activeMar 31, '14 at 2:41p
posts4
users2
websitegolang.org

2 users in discussion

Ralf Rottmann: 3 posts Kamil Kisiel: 1 post

People

Translate

site design / logo © 2021 Grokbase