TestDebugPrintWARNINGNew() — gin Function Reference
Architecture documentation for the TestDebugPrintWARNINGNew() function in debug_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 7069dfa9_de07_c8bf_8ae1_4547d35d0706["TestDebugPrintWARNINGNew()"] 8ee5a2af_634d_2b9b_d50c_11685d28130a["captureOutput()"] 7069dfa9_de07_c8bf_8ae1_4547d35d0706 -->|calls| 8ee5a2af_634d_2b9b_d50c_11685d28130a style 7069dfa9_de07_c8bf_8ae1_4547d35d0706 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
debug_test.go lines 127–134
func TestDebugPrintWARNINGNew(t *testing.T) {
re := captureOutput(t, func() {
SetMode(DebugMode)
debugPrintWARNINGNew()
SetMode(TestMode)
})
assert.Equal(t, "[GIN-debug] [WARNING] Running in \"debug\" mode. Switch to \"release\" mode in production.\n - using env:\texport GIN_MODE=release\n - using code:\tgin.SetMode(gin.ReleaseMode)\n\n", re)
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does TestDebugPrintWARNINGNew() do?
TestDebugPrintWARNINGNew() is a function in the gin codebase.
What does TestDebugPrintWARNINGNew() call?
TestDebugPrintWARNINGNew() 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