From 02dc17de4bfd5f16817eabea8c6c6f0333a6c13b Mon Sep 17 00:00:00 2001 From: Skuli Oskarsson Date: Mon, 30 Jun 2014 22:48:33 +0000 Subject: [PATCH] Fixed some text in the readme The code that was there didn't work. Now it does --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 46784d4a..ed6467de 100644 --- a/README.md +++ b/README.md @@ -208,8 +208,8 @@ func main() { r := gin.Default() r.LoadHTMLTemplates("templates/*") r.GET("index", func(c *gin.Context) { - obj := gin.h{"title": "Main website"} - c.HTML(200, "templates/index.tmpl", obj) + obj := gin.H{"title": "Main website"} + c.HTML(200, "index.tmpl", obj) }) } ```