update the generated code for hello world proto

This commit is contained in:
iamqizhao 2015-03-28 15:56:47 -07:00
parent d80141b1f7
commit cd874500da
1 changed files with 1 additions and 1 deletions

View File

@ -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