diff options
Diffstat (limited to 'vendor/github.com/Philipp15b/go-steam/netutil/url.go')
-rw-r--r-- | vendor/github.com/Philipp15b/go-steam/netutil/url.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/github.com/Philipp15b/go-steam/netutil/url.go b/vendor/github.com/Philipp15b/go-steam/netutil/url.go new file mode 100644 index 00000000..4598ec3e --- /dev/null +++ b/vendor/github.com/Philipp15b/go-steam/netutil/url.go @@ -0,0 +1,13 @@ +package netutil + +import ( + "net/url" +) + +func ToUrlValues(m map[string]string) url.Values { + r := make(url.Values) + for k, v := range m { + r.Add(k, v) + } + return r +} |