package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

Analyzer returns an Analyzer that vets against calls to the method described in the provided Options.

# Variables

Analyzers are all of the Analyzers defined in this package.
DescriptorMarshalAnalyzer checks for correct unmarshaling of descpb descriptors by disallowing calls to (descpb.Descriptor).GetTable() et al.
ErrGroupGoAnalyzer checks for calls to (*errgroup.Group).Go.
GRPCClientConnCloseAnalyzer checks for calls to (*grpc.ClientConn).Close.
GRPCStatusWithDetailsAnalyzer checks that we don't use Status.WithDetails(), since it does not support Protobufs generated by gogoproto.
NakedGoAnalyzer prevents use of the `go` keyword.

# Structs

Options are used to create an Analyzer that vets against calls to a forbidden method.