Skip to content
Myr

chore: fix typo and add a little anotation (#1562)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by 田欧 · committed by Bo-Yi Wu · parent c617b62 · Browse files · 2 files+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−1 removed

  • other:+2 added−1 removed

2 files+2 added−1 removed

modified:debug.go+1 added
14 unmodified lines
15func IsDebugging() bool {16 return ginMode == debugCode17}1819// DebugPrintRouteFunc indicates debug log output format.20var DebugPrintRouteFunc func(httpMethod, absolutePath, handlerName string, nuHandlers int)2122func debugPrintRoute(httpMethod, absolutePath string, handlers HandlersChain) {23 if IsDebugging() {
60 unmodified lines
modified:routergroup.go+1 added-1 removed
15 unmodified lines
16 IRoutes17 Group(string, ...HandlerFunc) *RouterGroup18}1920// Iroutes defins all router handle interface.20// IRoutes defines all router handle interface.21type IRoutes interface {22 Use(...HandlerFunc) IRoutes2324 Handle(string, string, ...HandlerFunc) IRoutes
193 unmodified lines