package
1.11.0
Repository: https://github.com/berrserker/prototool.git
Documentation: pkg.go.dev

# Functions

CheckMultiple is a convenience function that checks multiple linters and multiple descriptors.
GetDirPathToDescriptors is a convenience function that gets the descriptors for the given ProtoSet.
GetLinters returns the Linters for the LintConfig.
NewLinter is a convenience function that returns a new Linter for the given parameters, using a function to record failures.
NewRunner returns a new Runner.
NewSuppressableLinter is a convenience function that returns a new Linter for the given parameters, using a function to record failures.
RunnerWithLogger returns a RunnerOption that uses the given logger.

# Variables

AllLinters is the slice of all known Linters.
DefaultLinters is the slice of default Linters.
EmptyLinters is the slice of linters for the empty lint group.
GoogleLinters is the slice of linters for the google lint group.
GroupToLinters is the map from linter group to the corresponding slice of linters.
Uber1Linters is the slice of linters for the uber1 lint group.
Uber2Linters is the slice of linters for the uber2 lint group.

# Structs

FileDescriptor is a wrapper for proto.Proto.

# Interfaces

Linter is a linter for Protobuf files.
Runner runs a lint job.

# Type aliases

RunnerOption is an option for a new Runner.