dd
This commit is contained in:
parent
7ae897f147
commit
8a61bb6810
@ -44,7 +44,7 @@ func (s *ServiceImpl) ExecServices(c context.Context, in *pb.ServiceInput) (*pb.
|
|||||||
pbs := &pb.ServiceOutput{}
|
pbs := &pb.ServiceOutput{}
|
||||||
|
|
||||||
// Todo Call Service Method
|
// Todo Call Service Method
|
||||||
result := reflect.ValueOf(serviceName).MethodByName("Read").Call([]reflect.Value{})[0].String()
|
result := reflect.ValueOf(serviceName).MethodByName(in.MethodName).Call([]reflect.Value{})[0].String()
|
||||||
|
|
||||||
pbs.ResultStr = result
|
pbs.ResultStr = result
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user