net/http.Cookie.Path (field)
9 uses
net/http (current package)
cookie.go#L24: Path string // optional
cookie.go#L148: c.Path = val
cookie.go#L179: b.Grow(len(c.Name) + len(c.Value) + len(c.Domain) + len(c.Path) + extraCookieLength)
cookie.go#L184: if len(c.Path) > 0 {
cookie.go#L186: b.WriteString(sanitizeCookiePath(c.Path))
golang.org/x/pkgsite/internal/cookie
flash.go#L37: Path: r.URL.Path,
flash.go#L55: http.SetCookie(w, &http.Cookie{Name: name, Value: value, Path: urlPath})
golang.org/x/pkgsite/internal/middleware
betaRedirect.go#L34: cookie := &http.Cookie{Name: betaPkgGoDevRedirectCookie, Value: redirectParam, Path: "/"}
betaRedirect.go#L38: cookie := &http.Cookie{Name: betaPkgGoDevRedirectCookie, Value: "", MaxAge: -1, Path: "/"}
![]() |
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. |