mirror of
https://github.com/gin-gonic/gin.git
synced 2026-07-15 15:51:17 +08:00
Compare commits
2 Commits
b950e6d208
...
4d79e76ab8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d79e76ab8 | ||
|
|
64a7f21cd3 |
2
gin.go
2
gin.go
@ -71,6 +71,7 @@ type RouteInfo struct {
|
||||
Method string
|
||||
Path string
|
||||
Handler string
|
||||
Handlers HandlersChain
|
||||
HandlerFunc HandlerFunc
|
||||
}
|
||||
|
||||
@ -379,6 +380,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