linter

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linter

type Linter struct{}

Linter represents the protocol buffer linter with some rules.

func NewLinter

func NewLinter() *Linter

NewLinter creates a new Linter.

func (*Linter) Run

func (l *Linter) Run(
	proto *parser.Proto,
	hasApplies []rule.HasApply,
) ([]report.Failure, error)

Run lints the protocol buffer.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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