From cd874500da82335422bac62b4173db562e11aa68 Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Sat, 28 Mar 2015 15:56:47 -0700 Subject: [PATCH] update the generated code for hello world proto --- go/helloworld/helloworld.pb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/helloworld/helloworld.pb.go b/go/helloworld/helloworld.pb.go index 37b659ec0de..c23d2f14fec 100644 --- a/go/helloworld/helloworld.pb.go +++ b/go/helloworld/helloworld.pb.go @@ -84,7 +84,7 @@ func RegisterGreeterServer(s *grpc.Server, srv GreeterServer) { s.RegisterService(&_Greeter_serviceDesc, srv) } -func _Greeter_SayHello_Handler(srv interface{}, ctx context.Context, buf []byte) (proto.Message, error) { +func _Greeter_SayHello_Handler(srv interface{}, ctx context.Context, buf []byte) (interface{}, error) { in := new(HelloRequest) if err := proto.Unmarshal(buf, in); err != nil { return nil, err