lint

package
v1.26.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: GPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextLoader added in v1.26.1

type ContextLoader struct {
	// contains filtered or unexported fields
}

func NewContextLoader added in v1.26.1

func NewContextLoader(cfg *config.Config, log logutils.Log, goenv *goutil.Env,
	lineCache *fsutils.LineCache, fileCache *fsutils.FileCache, pkgCache *pkgcache.Cache, loadGuard *load.Guard) *ContextLoader

func (*ContextLoader) Load added in v1.26.1

func (cl *ContextLoader) Load(ctx context.Context, linters []*linter.Config) (*linter.Context, error)

type Runner added in v1.7.1

type Runner struct {
	Processors []processors.Processor
	Log        logutils.Log
}

func NewRunner added in v1.7.1

func NewRunner(cfg *config.Config, log logutils.Log, goenv *goutil.Env,
	lineCache *fsutils.LineCache, dbManager *lintersdb.Manager, pkgs []*gopackages.Package) (*Runner, error)

func (Runner) Run added in v1.7.1

func (r Runner) Run(ctx context.Context, linters []*linter.Config, lintCtx *linter.Context) ([]result.Issue, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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