mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-23 03:02:04 -08:00
14 lines
166 B
Go
14 lines
166 B
Go
|
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
|
||
|
}
|