Cookie() — gin Function Reference
Architecture documentation for the Cookie() function in context.go from the gin codebase.
Entity Profile
Relationship Graph
Source Code
context.go lines 1141–1148
func (c *Context) Cookie(name string) (string, error) {
cookie, err := c.Request.Cookie(name)
if err != nil {
return "", err
}
val, _ := url.QueryUnescape(cookie.Value)
return val, nil
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free