debugPrintLoadTemplate() — gin Function Reference
Architecture documentation for the debugPrintLoadTemplate() function in debug.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD edad912d_c737_ec7c_18d7_ca1f15baded4["debugPrintLoadTemplate()"] ce2cf8e3_420b_e598_9442_8f932bc5cd59["debug.go"] edad912d_c737_ec7c_18d7_ca1f15baded4 -->|defined in| ce2cf8e3_420b_e598_9442_8f932bc5cd59 b1f16d01_18e5_9b42_a392_9970201fd645["IsDebugging()"] edad912d_c737_ec7c_18d7_ca1f15baded4 -->|calls| b1f16d01_18e5_9b42_a392_9970201fd645 11d01069_a77e_b36b_0898_4c80596b3dbe["debugPrint()"] edad912d_c737_ec7c_18d7_ca1f15baded4 -->|calls| 11d01069_a77e_b36b_0898_4c80596b3dbe style edad912d_c737_ec7c_18d7_ca1f15baded4 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
Defined In
Source
Frequently Asked Questions
What does debugPrintLoadTemplate() do?
debugPrintLoadTemplate() is a function in the gin codebase, defined in debug.go.
Where is debugPrintLoadTemplate() defined?
debugPrintLoadTemplate() is defined in debug.go at line 44.
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