mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-19 07:38:57 +08:00
Load new html templates to the exists HTMLRender. This method won't create a new template instance. So we can load templates from different path and use golang template `define` tag to give the templates proper name. Golang's `filepath.Glob` doesn't support glob dir recursively. This method may be helpful. May be related with #1296.