Compare commits

...

2 Commits

2
gin.go
View File

@ -71,6 +71,7 @@ type RouteInfo struct {
Method string
Path string
Handler string
Handlers HandlersChain
HandlerFunc HandlerFunc
}
@ -392,6 +393,7 @@ func iterate(path, method string, routes RoutesInfo, root *node) RoutesInfo {
Method: method,
Path: path,
Handler: nameOfFunction(handlerFunc),
Handlers: root.handlers,
HandlerFunc: handlerFunc,
})
}