LoadHTMLGlob() — gin Function Reference
Architecture documentation for the LoadHTMLGlob() function in gin.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 83683f41_0811_77a5_2626_97e344901033["LoadHTMLGlob()"] 3784963f_1b01_8b3b_8de8_fc9ff1648454["Delims()"] 83683f41_0811_77a5_2626_97e344901033 -->|calls| 3784963f_1b01_8b3b_8de8_fc9ff1648454 f4ea3761_325b_a1cf_91f9_9dc4d7c5cfd2["SetHTMLTemplate()"] 83683f41_0811_77a5_2626_97e344901033 -->|calls| f4ea3761_325b_a1cf_91f9_9dc4d7c5cfd2 style 83683f41_0811_77a5_2626_97e344901033 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
gin.go lines 272–284
func (engine *Engine) LoadHTMLGlob(pattern string) {
left := engine.delims.Left
right := engine.delims.Right
templ := template.Must(template.New("").Delims(left, right).Funcs(engine.FuncMap).ParseGlob(pattern))
if IsDebugging() {
debugPrintLoadTemplate(templ)
engine.HTMLRender = render.HTMLDebug{Glob: pattern, FuncMap: engine.FuncMap, Delims: engine.delims}
return
}
engine.SetHTMLTemplate(templ)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does LoadHTMLGlob() do?
LoadHTMLGlob() is a function in the gin codebase.
What does LoadHTMLGlob() call?
LoadHTMLGlob() calls 2 function(s): Delims, SetHTMLTemplate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free