net/url.URL.String (method, view implemented interface methods)
20 uses
net/url (current package)
url.go#L797: func (u *URL) String() string {
url.go#L877: return ru.String()
url.go#L1222: return append(b, u.String()...), nil
url.go#L1329: return res.String(), nil
net/http
client.go#L159: referer := lastReq.String()
client.go#L1050: return strings.Replace(u.String(), u.User.String()+"@", u.User.Username()+":***@", 1)
client.go#L1052: return u.String()
fs.go#L175: fmt.Fprintf(w, "<a href=\"%s\">%s</a>\n", url.String(), htmlReplacer.Replace(name))
servemux121.go#L112: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
servemux121.go#L126: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
servemux121.go#L132: return RedirectHandler(u.String(), StatusMovedPermanently), pattern
server.go#L2671: return RedirectHandler(u.String(), StatusTemporaryRedirect), u.Path, nil, nil
server.go#L2687: return RedirectHandler(u.String(), StatusTemporaryRedirect), n.pattern.String(), nil, nil
server.go#L2696: return RedirectHandler(u.String(), StatusTemporaryRedirect), patStr, nil, nil
transport.go#L2057: proxyStr = cm.proxyURL.String()
crypto/x509
constraints.go#L574: return u.uri.String()
constraints.go#L582: return nil, fmt.Errorf("URI with empty host (%q) cannot be matched against constraints", uri.String())
constraints.go#L596: return nil, fmt.Errorf("URI with IP (%q) cannot be matched against constraints", uri.String())
x509.go#L1177: uriStr := uri.String()
github.com/coder/websocket
dial.go#L204: req, err := http.NewRequestWithContext(ctx, "GET", u.String(), nil)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |