3
0
mirror of https://github.com/gin-gonic/gin.git synced 2025-04-23 09:51:22 +08:00

FIX r.LoadHTMLGlob("/path/to/templates") ()

FIX r.LoadHTMLGlob("/path/to/templates")) to r.LoadHTMLGlob("/path/to/templates")
This commit is contained in:
forging2012 2018-10-31 20:19:58 +08:00 committed by thinkerou
parent c65e5efc9a
commit 8e9619767c

@ -1160,7 +1160,7 @@ You may use custom delims
```go
r := gin.Default()
r.Delims("{[{", "}]}")
r.LoadHTMLGlob("/path/to/templates"))
r.LoadHTMLGlob("/path/to/templates")
```
#### Custom Template Funcs