net/url.URL.String (method)
38 uses
net/url (current package)
url.go#L811: func (u *URL) String() string {
url.go#L871: return ru.String()
url.go#L1173: return []byte(u.String()), nil
net/http
client.go#L154: referer := lastReq.String()
client.go#L1006: return strings.Replace(u.String(), u.User.String()+"@", u.User.Username()+":***@", 1)
client.go#L1008: return u.String()
fs.go#L162: fmt.Fprintf(w, "<a href=\"%s\">%s</a>\n", url.String(), htmlReplacer.Replace(name))
server.go#L2391: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
server.go#L2405: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
server.go#L2412: return RedirectHandler(url.String(), StatusMovedPermanently), pattern
transport.go#L1807: proxyStr = cm.proxyURL.String()
cloud.google.com/go/logging
logging.go#L670: RequestUrl: fixUTF8(u.String()),
cloud.google.com/go/storage
post_policy_v4.go#L334: URL: u.String(),
reader.go#L118: req, err := http.NewRequest(verb, u.String(), nil)
storage.go#L662: return u.String(), nil
storage.go#L716: fmt.Fprintf(buf, "%s", u.String())
storage.go#L730: return u.String(), nil
crypto/x509
verify.go#L442: return false, fmt.Errorf("URI with empty host (%q) cannot be matched against constraints", uri.String())
verify.go#L455: return false, fmt.Errorf("URI with IP (%q) cannot be matched against constraints", uri.String())
x509.go#L1669: uriStr := uri.String()
github.com/aws/aws-sdk-go/aws/ec2metadata
service.go#L103: endpoint = u.String()
github.com/aws/aws-sdk-go/aws/request
request.go#L372: return r.HTTPRequest.URL.String(), r.SignedHeaderVals, nil
github.com/aws/aws-sdk-go/aws/signer/v4
v4.go#L507: signedURLMsg = fmt.Sprintf(logSignedURLMsg, ctx.Request.URL.String())
github.com/golang-migrate/migrate/v4/database/postgres
postgres.go#L114: db, err := sql.Open("postgres", migrate.FilterCustomQuery(purl).String())
github.com/jackc/pgconn
errors.go#L192: return u.String()
github.com/microcosm-cc/bluemonday
sanitize.go#L537: return u.String(), true
sanitize.go#L544: if u.String() != "" {
sanitize.go#L545: return u.String(), true
github.com/prometheus/client_golang/prometheus/promhttp
instrument_server.go#L301: s += len(r.URL.String())
go.opencensus.io/plugin/ochttp
trace.go#L159: trace.StringAttribute(URLAttribute, r.URL.String()),
golang.org/x/pkgsite/internal/frontend
overview.go#L147: return destURL.String()
paginate.go#L40: return p.baseURL.String()
golang.org/x/pkgsite/internal/middleware
accept_requests.go#L19: if len(r.URL.String()) >= maxURILength {
betaRedirect.go#L47: http.Redirect(w, r, betaPkgGoDevURL(r.URL).String(), http.StatusFound)
caching.go#L142: key := r.URL.String()
google.golang.org/api/googleapi
googleapi.go#L288: us := u.String()
google.golang.org/api/transport/http
dial.go#L303: return u.String(), nil
google.golang.org/grpc/internal/credentials
spiffe.go#L45: if len(uri.String()) > 2048 {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |