net/url.URL.Path (field)
43 uses
net/url (current package)
url.go#L375: Path string // path (relative paths may omit leading slash)
url.go#L521: url.Path = "*"
url.go#L696: u.Path = path
url.go#L721: if err == nil && p == u.Path {
url.go#L725: if u.Path == "*" {
url.go#L728: return escape(u.Path, encodePath)
url.go#L841: n += len(u.Path)
url.go#L858: if u.Host != "" || u.Path != "" || u.User != nil {
url.go#L1131: url.Path = ""
url.go#L1134: if ref.Path == "" && !ref.ForceQuery && ref.RawQuery == "" {
url.go#L1141: if ref.Path == "" && u.Opaque != "" {
url.go#L1145: url.Path = ""
net/http
fs.go#L169: url := url.URL{Path: name}
fs.go#L680: if strings.HasSuffix(r.URL.Path, indexPage) {
fs.go#L703: url := r.URL.Path
fs.go#L723: url := r.URL.Path
fs.go#L807: if containsDotDot(r.URL.Path) {
fs.go#L841: if containsDotDot(r.URL.Path) {
fs.go#L981: upath := r.URL.Path
fs.go#L984: r.URL.Path = upath
request.go#L539: return r.Method == "PRI" && len(r.Header) == 0 && r.URL.Path == "*" && r.Proto == "HTTP/2.0"
request.go#L658: } else if r.Method == "CONNECT" && r.URL.Path == "" {
servemux121.go#L111: if u, ok := mux.redirectToPathSlash(r.URL.Host, r.URL.Path, r.URL); ok {
servemux121.go#L112: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
servemux121.go#L115: return mux.handler(r.Host, r.URL.Path)
servemux121.go#L121: path := cleanPath(r.URL.Path)
servemux121.go#L126: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
servemux121.go#L129: if path != r.URL.Path {
servemux121.go#L131: u := &url.URL{Path: path, RawQuery: r.URL.RawQuery}
servemux121.go#L135: return mux.handler(host, r.URL.Path)
servemux121.go#L188: u = &url.URL{Path: path, RawQuery: u.RawQuery}
server.go#L2273: p := strings.TrimPrefix(r.URL.Path, prefix)
server.go#L2275: if len(p) < len(r.URL.Path) && (r.URL.RawPath == "" || len(rp) < len(r.URL.RawPath)) {
server.go#L2280: r2.URL.Path = p
server.go#L2307: oldpath := r.URL.Path
server.go#L2597: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path, nil, nil
server.go#L2613: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path, nil, nil
server.go#L2621: u := &url.URL{Path: path, RawQuery: r.URL.RawQuery}
server.go#L2659: return nil, nil, &url.URL{Path: cleanPath(u.Path) + "/", RawQuery: u.RawQuery}
github.com/coinbase/cdp-sdk/go
cdp.go#L64: RequestPath: req.URL.Path,
cdp.go#L87: if !strings.Contains(req.URL.Path, "/accounts") {
cdp.go#L112: RequestPath: req.URL.Path,
 |
The pages are generated with Golds v0.7.6. (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. |