From e6cd47a0044a54e42f438a11c2396509c30f5207 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 13 Jul 2015 10:13:26 +0800 Subject: [PATCH] Correct the query parameter name. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d5600e65..8d88a770 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")