MCPcopy Create free account
hub / github.com/code-scan/Goal / RawEncode

Function RawEncode

Gconvert/url.go:30–32  ·  view source on GitHub ↗
(param string)

Source from the content-addressed store, hash-verified

28}
29
30func RawEncode(param string) string {
31 return strings.Replace(url.QueryEscape(param), "+", "%20", -1)
32}
33
34func RawDecode(param string) string {
35 ret, err := url.QueryUnescape(strings.Replace(param, "%20", "+", -1))

Callers 1

TestConvertFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestConvertFunction · 0.74