debugPrintLoadTemplate() — gin Function Reference
Architecture documentation for the debugPrintLoadTemplate() function in debug.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD f1422fb5_573e_ba94_335a_be677aa09f73["debugPrintLoadTemplate()"] 6efb6bcb_dfd5_3df7_b618_208364167eb5["IsDebugging()"] f1422fb5_573e_ba94_335a_be677aa09f73 -->|calls| 6efb6bcb_dfd5_3df7_b618_208364167eb5 f8fa3e34_858d_6d0e_4b36_8c99ed64553a["debugPrint()"] f1422fb5_573e_ba94_335a_be677aa09f73 -->|calls| f8fa3e34_858d_6d0e_4b36_8c99ed64553a style f1422fb5_573e_ba94_335a_be677aa09f73 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
debug.go lines 44–54
func debugPrintLoadTemplate(tmpl *template.Template) {
if IsDebugging() {
var buf strings.Builder
for _, tmpl := range tmpl.Templates() {
buf.WriteString("\t- ")
buf.WriteString(tmpl.Name())
buf.WriteString("\n")
}
debugPrint("Loaded HTML Templates (%d): \n%s\n", len(tmpl.Templates()), buf.String())
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does debugPrintLoadTemplate() do?
debugPrintLoadTemplate() is a function in the gin codebase.
What does debugPrintLoadTemplate() call?
debugPrintLoadTemplate() calls 2 function(s): IsDebugging, debugPrint.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free