Merge 64a7f21cd32eb0c55dda3f02e5f1f7a2efc9ad36 into ef68fa032c0e6ce637db56e89ec734c0de0a9f5e

This commit is contained in:
thoohv5 2025-05-15 09:15:18 +02:00 committed by GitHub
commit 4ea94f8fda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
gin.go
View File

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