extract

package
v0.0.0-...-1cd9283 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextLoader

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

func NewContextLoader

func NewContextLoader(cfg *config.Config) *ContextLoader

func (*ContextLoader) Load

type Runner

type Runner struct {
	Processors []processors.Processor
	Log        *logrus.Entry
}

func NewRunner

func NewRunner(cfg *config.Config, pkgs map[string]*packages.Package) (*Runner, error)

func (Runner) Run

func (r Runner) Run(ctx context.Context, extractCtx *extractors.Context, extractors []extractors.Extractor) ([]result.Issue, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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