linter

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LintProtoFile

func LintProtoFile(conf Config) (int, error)

LintProtoFile takes a file name, proto file description, and a file. It checks the file for errors and writes them to the output file.

Types

type Config added in v0.2.1

type Config struct {
	ProtoFile   *descriptorpb.FileDescriptorProto
	OutFile     io.WriteCloser
	SortImports bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL