aboutsummaryrefslogtreecommitdiffhomepage
path: root/go
diff options
context:
space:
mode:
authorGravatar iamqizhao <toqizhao@gmail.com>2015-03-28 15:56:47 -0700
committerGravatar iamqizhao <toqizhao@gmail.com>2015-03-28 15:56:47 -0700
commitcd874500da82335422bac62b4173db562e11aa68 (patch)
tree5d6ea7d0682dcb564e0aa249ea087ecde5a5db38 /go
parentd80141b1f73720d2853abfe008dd8face78cdbc4 (diff)
update the generated code for hello world proto
Diffstat (limited to 'go')
-rw-r--r--go/helloworld/helloworld.pb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/helloworld/helloworld.pb.go b/go/helloworld/helloworld.pb.go
index 37b659ec0d..c23d2f14fe 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