diff --git a/README.md b/README.md index e83952d..a45d7f0 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ func main() { router.POST("/post", func(c *gin.Context) { id := c.Query("id") - page := c.DefaultQuery("id", "0") + page := c.DefaultQuery("page", "0") name := c.PostForm("name") message := c.PostForm("message")