From fc494c80948e203f6b0e5a960d5acb347b9be6c2 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 7 Jul 2014 11:58:22 +0800 Subject: [PATCH] Fix READEME.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 850ee129..2bd6eb03 100644 --- a/README.md +++ b/README.md @@ -273,7 +273,7 @@ func main() { r.Use(Logger()) r.GET("/test", func(c *gin.Context){ - example := r.Get("example").(string) + example := c.Get("example").(string) // it would print: "12345" log.Println(example)