Update comment for using LoadHTMLFilesRecursively method

This commit is contained in:
math-nao 2018-03-23 19:27:15 +01:00
parent f4515cbbe7
commit 4e757db0fc
1 changed files with 1 additions and 1 deletions

View File

@ -837,7 +837,7 @@ func main() {
router.LoadHTMLGlob("templates/*") router.LoadHTMLGlob("templates/*")
//router.LoadHTMLFiles("templates/template1.html", "templates/template2.html") //router.LoadHTMLFiles("templates/template1.html", "templates/template2.html")
// load recursively all .html in "public" folder // load recursively all .html files in "public" folder
//router.LoadHTMLFilesRecursively("public", []string{".html"}) //router.LoadHTMLFilesRecursively("public", []string{".html"})
router.GET("/index", func(c *gin.Context) { router.GET("/index", func(c *gin.Context) {