Skip to content

Commit 83fc767

Browse files
authored
docs: fix typo in function documentation (#3872)
1 parent 646312a commit 83fc767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ func (c *Context) GetStringMapStringSlice(key string) (smss map[string][]string)
393393
//
394394
// router.GET("/user/:id", func(c *gin.Context) {
395395
// // a GET request to /user/john
396-
// id := c.Param("id") // id == "/john"
396+
// id := c.Param("id") // id == "john"
397397
// // a GET request to /user/john/
398398
// id := c.Param("id") // id == "/john/"
399399
// })

0 commit comments

Comments
 (0)