debugPrintRoute() — gin Function Reference
Architecture documentation for the debugPrintRoute() function in debug.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 71fce865_2dce_2ee8_285e_d004e752d30c["debugPrintRoute()"] 6efb6bcb_dfd5_3df7_b618_208364167eb5["IsDebugging()"] 71fce865_2dce_2ee8_285e_d004e752d30c -->|calls| 6efb6bcb_dfd5_3df7_b618_208364167eb5 f8fa3e34_858d_6d0e_4b36_8c99ed64553a["debugPrint()"] 71fce865_2dce_2ee8_285e_d004e752d30c -->|calls| f8fa3e34_858d_6d0e_4b36_8c99ed64553a style 71fce865_2dce_2ee8_285e_d004e752d30c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
debug.go lines 32–42
func debugPrintRoute(httpMethod, absolutePath string, handlers HandlersChain) {
if IsDebugging() {
nuHandlers := len(handlers)
handlerName := nameOfFunction(handlers.Last())
if DebugPrintRouteFunc == nil {
debugPrint("%-6s %-25s --> %s (%d handlers)\n", httpMethod, absolutePath, handlerName, nuHandlers)
} else {
DebugPrintRouteFunc(httpMethod, absolutePath, handlerName, nuHandlers)
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does debugPrintRoute() do?
debugPrintRoute() is a function in the gin codebase.
What does debugPrintRoute() call?
debugPrintRoute() 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