ing
This commit is contained in:
parent
761d497270
commit
108d2317b7
|
@ -72,7 +72,7 @@ func ExecServices(services []interface{}, method ServiceMethodType, orderedTypes
|
|||
i := _services[indexI]
|
||||
iv := reflect.ValueOf(i)
|
||||
m := iv.MethodByName(method.String())
|
||||
rvs := m.Call([]reflect.Value{iv})
|
||||
rvs := m.Call([]reflect.Value{})
|
||||
if nil != rvs && 1 == len(rvs) && nil != rvs[0].Interface() {
|
||||
return rvs[0].Interface().(error)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user