mirror of
https://github.com/gin-gonic/gin.git
synced 2026-01-11 00:56:57 +08:00
remove unuseful comments
This commit is contained in:
parent
23d0ee8a31
commit
b4e7ec8981
1
gin.go
1
gin.go
@ -130,7 +130,6 @@ func (engine *Engine) Delims(left, right string) *Engine {
|
||||
|
||||
func (engine *Engine) LoadHTMLGlob(pattern string) {
|
||||
if IsDebugging() {
|
||||
// debugPrintLoadTemplate(template.Must(template.ParseGlob(pattern)))
|
||||
debugPrintLoadTemplate(template.Must(template.New("").Delims(engine.delims.Left, engine.delims.Right).ParseGlob(pattern)))
|
||||
engine.HTMLRender = render.HTMLDebug{Glob: pattern, Delims: engine.delims}
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user