perfguard

package
v0.0.0-...-c6dfda3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

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

func NewAnalyzer

func NewAnalyzer() *Analyzer

func (*Analyzer) CheckPackage

func (a *Analyzer) CheckPackage(target *lint.Target) error

func (*Analyzer) Init

func (a *Analyzer) Init(config *Config) error

type Config

type Config struct {
	Heatmap *heatmap.Index

	GoVersion string

	LoadOptRules       bool
	LoadLintRules      bool
	LoadUniversalRules bool

	Warn func(lint.Warning)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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