mirror of https://github.com/gin-gonic/gin.git
fix: description error (#2988)
* fix:typo * fix: typo * fix: wrong when wildcard follows named param * fix: description error * update author list * fix:typo * fix: description error
This commit is contained in:
parent
fb5f045417
commit
92a988d761
|
@ -59,7 +59,7 @@ type Context struct {
|
||||||
params *Params
|
params *Params
|
||||||
skippedNodes *[]skippedNode
|
skippedNodes *[]skippedNode
|
||||||
|
|
||||||
// This mutex protect Keys map
|
// This mutex protects Keys map.
|
||||||
mu sync.RWMutex
|
mu sync.RWMutex
|
||||||
|
|
||||||
// Keys is a key/value pair exclusively for the context of each request.
|
// Keys is a key/value pair exclusively for the context of each request.
|
||||||
|
@ -71,10 +71,10 @@ type Context struct {
|
||||||
// Accepted defines a list of manually accepted formats for content negotiation.
|
// Accepted defines a list of manually accepted formats for content negotiation.
|
||||||
Accepted []string
|
Accepted []string
|
||||||
|
|
||||||
// queryCache use url.ParseQuery cached the param query result from c.Request.URL.Query()
|
// queryCache caches the query result from c.Request.URL.Query().
|
||||||
queryCache url.Values
|
queryCache url.Values
|
||||||
|
|
||||||
// formCache use url.ParseQuery cached PostForm contains the parsed form data from POST, PATCH,
|
// formCache caches c.Request.PostForm, which contains the parsed form data from POST, PATCH,
|
||||||
// or PUT body parameters.
|
// or PUT body parameters.
|
||||||
formCache url.Values
|
formCache url.Values
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue