From fa6bda2c872f804bc95ed71c68d089525384227a Mon Sep 17 00:00:00 2001 From: warmans Date: Sat, 23 Dec 2017 13:04:27 +0100 Subject: [PATCH] Fixed import --- examples/server/a_bit_of_everything.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/server/a_bit_of_everything.go b/examples/server/a_bit_of_everything.go index 38c6467c54e..e0d1ebdb928 100644 --- a/examples/server/a_bit_of_everything.go +++ b/examples/server/a_bit_of_everything.go @@ -17,6 +17,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" + ) // Implements of ABitOfEverythingServiceServer @@ -246,3 +247,7 @@ func (s *_ABitOfEverythingServer) Timeout(ctx context.Context, msg *empty.Empty) return nil, ctx.Err() } } + +func (s *_ABitOfEverythingServer) GetMessageWithBody(ctx context.Context, msg *examples.MessageWithBody) (*empty.Empty, error) { + return &empty.Empty{}, nil +}