Merge pull request #171 from iamqizhao/master

update the generated code for hello world proto
pull/3109/head
Qi Zhao 10 years ago
commit 882226f9af
  1. 2
      go/helloworld/helloworld.pb.go

@ -84,7 +84,7 @@ func RegisterGreeterServer(s *grpc.Server, srv GreeterServer) {
s.RegisterService(&_Greeter_serviceDesc, srv) 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) in := new(HelloRequest)
if err := proto.Unmarshal(buf, in); err != nil { if err := proto.Unmarshal(buf, in); err != nil {
return nil, err return nil, err

Loading…
Cancel
Save