mirror of
https://github.com/kataras/iris.git
synced 2026-03-07 08:55:57 +00:00
Make ExecRouteAgainst to work better and fix gorillamux and httprouter, remove of contextlinker policy it's useless now
Former-commit-id: 8d3501e6c490d630d3a4bec0c077dcd7d532242f
This commit is contained in:
@@ -52,12 +52,6 @@ func newTestNativeRouter() Policies {
|
||||
}
|
||||
return path
|
||||
},
|
||||
RouteContextLinker: func(r RouteInfo, ctx *Context) {
|
||||
if r == nil {
|
||||
return
|
||||
}
|
||||
ctx.Middleware = r.Middleware()
|
||||
},
|
||||
},
|
||||
RouterBuilderPolicy: func(repo RouteRepository, context ContextPool) http.Handler {
|
||||
servemux := http.NewServeMux()
|
||||
|
||||
Reference in New Issue
Block a user