From 108d2317b72060d1bb5b06eafa6a4249ea583280 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 17 Apr 2018 19:24:06 +0900 Subject: [PATCH] ing --- core/interfaces/Service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/interfaces/Service.go b/core/interfaces/Service.go index 0572ba3..e5aaa4c 100644 --- a/core/interfaces/Service.go +++ b/core/interfaces/Service.go @@ -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) }