diff --git a/gateway/services.go b/gateway/services.go index 208713c..32adb20 100644 --- a/gateway/services.go +++ b/gateway/services.go @@ -61,7 +61,7 @@ func (s *ServiceImpl) ExecServices(c context.Context, in *pb.ServiceInput) (*pb. switch temp.Kind() { case reflect.Ptr: NewObj = reflect.New(temp.Elem()) - convertParam(NewObj, in.Param) + convertParam(NewObj.Interface(), in.Param) params[i] = NewObj } }