Merge pull request #5 from SkuliOskarsson/patch-1

Fixed some text in the readme
This commit is contained in:
Manu Mtz.-Almeida 2014-07-01 00:54:15 +02:00
commit 90ae97f970

View File

@ -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)
})
}
```