TestDebugPrintLoadTemplate() — gin Function Reference
Architecture documentation for the TestDebugPrintLoadTemplate() function in debug_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 9b1e0db2_80b7_7085_4dd1_b1f42cadacca["TestDebugPrintLoadTemplate()"] 93aa143e_ba29_95e3_6171_a922a9c84ca0["debug_test.go"] 9b1e0db2_80b7_7085_4dd1_b1f42cadacca -->|defined in| 93aa143e_ba29_95e3_6171_a922a9c84ca0 00345091_92ac_a265_c869_edad36a41a3b["captureOutput()"] 9b1e0db2_80b7_7085_4dd1_b1f42cadacca -->|calls| 00345091_92ac_a265_c869_edad36a41a3b style 9b1e0db2_80b7_7085_4dd1_b1f42cadacca fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
debug_test.go lines 89–97
func TestDebugPrintLoadTemplate(t *testing.T) {
re := captureOutput(t, func() {
SetMode(DebugMode)
templ := template.Must(template.New("").Delims("{[{", "}]}").ParseGlob("./testdata/template/hello.tmpl"))
debugPrintLoadTemplate(templ)
SetMode(TestMode)
})
assert.Regexp(t, `^\[GIN-debug\] Loaded HTML Templates \(2\): \n(\t- \n|\t- hello\.tmpl\n){2}\n`, re)
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does TestDebugPrintLoadTemplate() do?
TestDebugPrintLoadTemplate() is a function in the gin codebase, defined in debug_test.go.
Where is TestDebugPrintLoadTemplate() defined?
TestDebugPrintLoadTemplate() is defined in debug_test.go at line 89.
What does TestDebugPrintLoadTemplate() call?
TestDebugPrintLoadTemplate() calls 1 function(s): captureOutput.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free