mirror of
https://github.com/gin-gonic/gin.git
synced 2025-05-22 12:19:16 +08:00
Merge 64a7f21cd32eb0c55dda3f02e5f1f7a2efc9ad36 into ef68fa032c0e6ce637db56e89ec734c0de0a9f5e
This commit is contained in:
commit
4ea94f8fda
2
gin.go
2
gin.go
@ -72,6 +72,7 @@ type RouteInfo struct {
|
||||
Method string
|
||||
Path string
|
||||
Handler string
|
||||
Handlers HandlersChain
|
||||
HandlerFunc HandlerFunc
|
||||
}
|
||||
|
||||
@ -393,6 +394,7 @@ func iterate(path, method string, routes RoutesInfo, root *node) RoutesInfo {
|
||||
Method: method,
|
||||
Path: path,
|
||||
Handler: nameOfFunction(handlerFunc),
|
||||
Handlers: root.handlers,
|
||||
HandlerFunc: handlerFunc,
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user