1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

version 12.1.5

Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-02-02 16:29:06 +02:00
parent e04ea83c04
commit 3093d65363
76 changed files with 9647 additions and 366 deletions

View File

@@ -273,11 +273,7 @@ func (c *ControllerActivator) activate() {
}
func (c *ControllerActivator) addErr(err error) bool {
if c.router.GetReporter().Err(err) != nil {
return true
}
return false
return c.router.GetReporter().Err(err) != nil
}
// register all available, exported methods to handlers if possible.
@@ -492,7 +488,7 @@ func (c *ControllerActivator) handlerOf(m reflect.Method, funcDependencies []ref
ctxValue = reflect.ValueOf(ctx)
}
in := make([]reflect.Value, n, n)
in := make([]reflect.Value, n)
in[0] = ctrl
funcInjector.Inject(&in, ctxValue)