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

Function Str2Url

Gconvert/url.go:9–16  ·  view source on GitHub ↗
(urls string)

Source from the content-addressed store, hash-verified

7)
8
9func Str2Url(urls string) *url.URL {
10 u, err := url.Parse(urls)
11 if err != nil {
12 log.Println("[!] Str2Url Error: ", err)
13 return nil
14 }
15 return u
16}
17func UrlDecode(param string) string {
18 ret, err := url.QueryUnescape(param)
19 if err != nil {

Callers 1

TestConvertFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestConvertFunction · 0.74