mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-09 22:18:48 +08:00
Merge 64a7f21cd32eb0c55dda3f02e5f1f7a2efc9ad36 into 5260de6a83283abb87e827130accd495ad543cf3
This commit is contained in:
commit
273183a489
2
gin.go
2
gin.go
@ -69,6 +69,7 @@ type RouteInfo struct {
|
||||
Method string
|
||||
Path string
|
||||
Handler string
|
||||
Handlers HandlersChain
|
||||
HandlerFunc HandlerFunc
|
||||
}
|
||||
|
||||
@ -402,6 +403,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