Explorar o código

Fixed some text in the readme

The code that was there didn't work. Now it does
Skuli Oskarsson %!s(int64=11) %!d(string=hai) anos
pai
achega
02dc17de4b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      README.md

+ 2 - 2
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)
     })
 }
 ```