mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 21:32:11 +08:00
fixed typo
This commit is contained in:
parent
961f4951f4
commit
783438c8e2
@ -383,7 +383,7 @@ func (c *Context) Param(key string) string {
|
|||||||
return c.Params.ByName(key)
|
return c.Params.ByName(key)
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddParam adds param to context an
|
// AddParam adds param to context and
|
||||||
// replaces path param key with given value for e2e testing purposes
|
// replaces path param key with given value for e2e testing purposes
|
||||||
// Example Route: "/user/:id"
|
// Example Route: "/user/:id"
|
||||||
// AddParam("id", 1)
|
// AddParam("id", 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user