summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/Philipp15b/go-steam/netutil/url.go
blob: 4598ec3e91c62a629489282c666f508d617fced1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
}