mirror of
https://github.com/gin-gonic/gin.git
synced 2026-07-08 03:31:07 +08:00
Compare commits
2 Commits
0ae9cc1509
...
6885eb45d1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6885eb45d1 | ||
|
|
64a7f21cd3 |
2
gin.go
2
gin.go
@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user