net/url.URL.Path (field)
32 uses
net/url (current package)
url.go#L367: Path string // path (relative paths may omit leading slash)
url.go#L513: url.Path = "*"
url.go#L678: u.Path = path
url.go#L700: if err == nil && p == u.Path {
url.go#L704: if u.Path == "*" {
url.go#L707: return escape(u.Path, encodePath)
url.go#L821: if u.Host != "" || u.Path != "" || u.User != nil {
url.go#L1094: url.Path = ""
url.go#L1097: if ref.Path == "" && !ref.ForceQuery && ref.RawQuery == "" {
net/http
fs.go#L163: url := url.URL{Path: name}
fs.go#L609: if strings.HasSuffix(r.URL.Path, indexPage) {
fs.go#L632: url := r.URL.Path
fs.go#L647: url := r.URL.Path
fs.go#L731: if containsDotDot(r.URL.Path) {
fs.go#L861: upath := r.URL.Path
fs.go#L864: r.URL.Path = upath
request.go#L508: return r.Method == "PRI" && len(r.Header) == 0 && r.URL.Path == "*" && r.Proto == "HTTP/2.0"
request.go#L627: } else if r.Method == "CONNECT" && r.URL.Path == "" {
server.go#L2170: p := strings.TrimPrefix(r.URL.Path, prefix)
server.go#L2172: if len(p) < len(r.URL.Path) && (r.URL.RawPath == "" || len(rp) < len(r.URL.RawPath)) {
server.go#L2177: r2.URL.Path = p
server.go#L2204: oldpath := r.URL.Path
server.go#L2406: u = &url.URL{Path: path, RawQuery: u.RawQuery}
server.go#L2457: if u, ok := mux.redirectToPathSlash(r.URL.Host, r.URL.Path, r.URL); ok {
server.go#L2458: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
server.go#L2461: return mux.handler(r.Host, r.URL.Path)
server.go#L2467: path := cleanPath(r.URL.Path)
server.go#L2472: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
server.go#L2475: if path != r.URL.Path {
server.go#L2477: u := &url.URL{Path: path, RawQuery: r.URL.RawQuery}
server.go#L2481: return mux.handler(host, r.URL.Path)
go.uber.org/zap
sink.go#L148: return sr.newFileSinkFromPath(u.Path)
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |