Merge 64a7f21cd32eb0c55dda3f02e5f1f7a2efc9ad36 into c3d5a28ed6d3849da820195b6774d212bcc038a9

This commit is contained in:
thoohv5 2025-11-08 09:49:22 +01:00 committed by GitHub
commit 0ae9cc1509
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
gin.go
View File

@ -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,
})
}