fix: embed pb.UnimplementedGreeterServer to avoid linting issues

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-11-08 21:11:01 -05:00
1 parent 77d53b1009
commit 21ed81d39e
1 file changed
+3 -1
+3 -1
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) {