From 59964f7e21a968d3e2e6de4561465aee2771db5f Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 10 Apr 2018 18:01:04 +0900 Subject: [PATCH] ing --- service/service-registry.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/service/service-registry.go b/service/service-registry.go index ca770b6..b0b76fb 100644 --- a/service/service-registry.go +++ b/service/service-registry.go @@ -43,6 +43,10 @@ func (mm *MethodMeta) Call(in []reflect.Value) []reflect.Value { return mm.method.Func.Call(in) } +func (mm *MethodMeta) ReturnType() reflect.Type { + return mm.returnType +} + func (mm *MethodMeta) ParamValues() (values []reflect.Value, instances []interface{}) { if nil == mm.paramTypes || 0 == len(mm.paramTypes) { return nil, nil