From a29870b15450445c741bcfb3e8de2b70fb5a8e5d Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 27 Jun 2019 13:08:06 +0100 Subject: [PATCH] fix grpc proto wrapper --- grpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grpc.go b/grpc.go index b067d82..9a1843b 100644 --- a/grpc.go +++ b/grpc.go @@ -33,7 +33,7 @@ type grpcClient struct { func init() { encoding.RegisterCodec(wrapCodec{jsonCodec{}}) - encoding.RegisterCodec(wrapCodec{jsonCodec{}}) + encoding.RegisterCodec(wrapCodec{protoCodec{}}) encoding.RegisterCodec(wrapCodec{bytesCodec{}}) }