update the generated code for hello world proto

pull/3109/head
iamqizhao 10 years ago
parent d80141b1f7
commit cd874500da
  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