From 55d6bb7a683d41442ff100becbb4ae95d3e6b241 Mon Sep 17 00:00:00 2001 From: dickeyxxx Date: Sun, 6 Jul 2014 15:21:40 -0700 Subject: [PATCH 1/2] typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 53efb20..2817ae7 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Yes, Gin is an internal project of [my](https://github.com/manucorporat) upcomin - Improve JSON/XML validation using bindings - Improve XML support - Improve documentation -- Add more cool middlewares, for example redis catching (this also helps developers to understand the framework) +- Add more cool middlewares, for example redis caching (this also helps developers to understand the framework) - Continuous integration From fc494c80948e203f6b0e5a960d5acb347b9be6c2 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 7 Jul 2014 11:58:22 +0800 Subject: [PATCH 2/2] Fix READEME.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 850ee12..2bd6eb0 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)