fix: embed pb.UnimplementedGreeterServer to avoid linting issues

This commit is contained in:
Jose Diaz-Gonzalez
2020-11-08 18:43:46 -05:00
parent 77d53b1009
commit 21ed81d39e

View File

@@ -35,7 +35,9 @@ const (
)
// server is used to implement helloworld.GreeterServer.
type server struct{}
type server struct{
pb.UnimplementedGreeterServer
}
// SayHello implements helloworld.GreeterServer
func (s *server) SayHello(ctx context.Context, in *pb.HelloRequest) (*pb.HelloReply, error) {