We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 646312a commit 83fc767Copy full SHA for 83fc767
context.go
@@ -393,7 +393,7 @@ func (c *Context) GetStringMapStringSlice(key string) (smss map[string][]string)
393
//
394
// router.GET("/user/:id", func(c *gin.Context) {
395
// // a GET request to /user/john
396
-// id := c.Param("id") // id == "/john"
+// id := c.Param("id") // id == "john"
397
// // a GET request to /user/john/
398
// id := c.Param("id") // id == "/john/"
399
// })
0 commit comments