Versions in this module Expand all Collapse all v1 v1.0.2 May 6, 2024 v1.0.1 May 6, 2024 Changes in this version + var StdExcludeDirRegexps = []string + type AutogeneratedExclude struct + func NewAutogeneratedExclude(strict bool) *AutogeneratedExclude + func (*AutogeneratedExclude) Finish() + func (*AutogeneratedExclude) Name() string + func (p *AutogeneratedExclude) Process(issues []result.Issue) ([]result.Issue, error) + type Cgo struct + func NewCgo(goenv *goutil.Env) *Cgo + func (Cgo) Finish() + func (Cgo) Name() string + func (p Cgo) Process(issues []result.Issue) ([]result.Issue, error) + type Diff struct + func NewDiff(cfg *config.Issues) *Diff + func (Diff) Finish() + func (Diff) Name() string + func (p Diff) Process(issues []result.Issue) ([]result.Issue, error) + type Exclude struct + func NewExclude(cfg *config.Issues) *Exclude + func (Exclude) Finish() + func (p Exclude) Name() string + func (p Exclude) Process(issues []result.Issue) ([]result.Issue, error) + type ExcludeRules struct + func NewExcludeRules(log logutils.Log, files *fsutils.Files, cfg *config.Issues) *ExcludeRules + func (ExcludeRules) Finish() + func (p ExcludeRules) Name() string + func (p ExcludeRules) Process(issues []result.Issue) ([]result.Issue, error) + type FilenameUnadjuster struct + func NewFilenameUnadjuster(pkgs []*packages.Package, log logutils.Log) *FilenameUnadjuster + func (*FilenameUnadjuster) Finish() + func (*FilenameUnadjuster) Name() string + func (p *FilenameUnadjuster) Process(issues []result.Issue) ([]result.Issue, error) + type Fixer struct + func NewFixer(cfg *config.Config, log logutils.Log, fileCache *fsutils.FileCache) *Fixer + func (Fixer) Finish() + func (Fixer) Name() string + func (p Fixer) Process(issues []result.Issue) ([]result.Issue, error) + type IdentifierMarker struct + func NewIdentifierMarker() *IdentifierMarker + func (IdentifierMarker) Finish() + func (IdentifierMarker) Name() string + func (p IdentifierMarker) Process(issues []result.Issue) ([]result.Issue, error) + type InvalidIssue struct + func NewInvalidIssue(log logutils.Log) *InvalidIssue + func (InvalidIssue) Finish() + func (InvalidIssue) Name() string + func (p InvalidIssue) Process(issues []result.Issue) ([]result.Issue, error) + type MaxFromLinter struct + func NewMaxFromLinter(limit int, log logutils.Log, cfg *config.Config) *MaxFromLinter + func (*MaxFromLinter) Name() string + func (p *MaxFromLinter) Finish() + func (p *MaxFromLinter) Process(issues []result.Issue) ([]result.Issue, error) + type MaxPerFileFromLinter struct + func NewMaxPerFileFromLinter(cfg *config.Config) *MaxPerFileFromLinter + func (*MaxPerFileFromLinter) Finish() + func (*MaxPerFileFromLinter) Name() string + func (p *MaxPerFileFromLinter) Process(issues []result.Issue) ([]result.Issue, error) + type MaxSameIssues struct + func NewMaxSameIssues(limit int, log logutils.Log, cfg *config.Config) *MaxSameIssues + func (*MaxSameIssues) Name() string + func (p *MaxSameIssues) Finish() + func (p *MaxSameIssues) Process(issues []result.Issue) ([]result.Issue, error) + type Nolint struct + func NewNolint(log logutils.Log, dbManager *lintersdb.Manager, ...) *Nolint + func (*Nolint) Name() string + func (p *Nolint) Finish() + func (p *Nolint) Process(issues []result.Issue) ([]result.Issue, error) + type PathPrefixer struct + func NewPathPrefixer(prefix string) *PathPrefixer + func (*PathPrefixer) Finish() + func (*PathPrefixer) Name() string + func (p *PathPrefixer) Process(issues []result.Issue) ([]result.Issue, error) + type PathPrettifier struct + func NewPathPrettifier() *PathPrettifier + func (PathPrettifier) Finish() + func (PathPrettifier) Name() string + func (PathPrettifier) Process(issues []result.Issue) ([]result.Issue, error) + type PathShortener struct + func NewPathShortener() *PathShortener + func (PathShortener) Finish() + func (PathShortener) Name() string + func (p PathShortener) Process(issues []result.Issue) ([]result.Issue, error) + type Processor interface + Finish func() + Name func() string + Process func(issues []result.Issue) ([]result.Issue, error) + type Severity struct + func NewSeverity(log logutils.Log, files *fsutils.Files, cfg *config.Severity) *Severity + func (*Severity) Finish() + func (p *Severity) Name() string + func (p *Severity) Process(issues []result.Issue) ([]result.Issue, error) + type SkipDirs struct + func NewSkipDirs(log logutils.Log, patterns, args []string, pathPrefix string) (*SkipDirs, error) + func (*SkipDirs) Name() string + func (p *SkipDirs) Finish() + func (p *SkipDirs) Process(issues []result.Issue) ([]result.Issue, error) + type SkipFiles struct + func NewSkipFiles(patterns []string, pathPrefix string) (*SkipFiles, error) + func (SkipFiles) Finish() + func (SkipFiles) Name() string + func (p SkipFiles) Process(issues []result.Issue) ([]result.Issue, error) + type SortResults struct + func NewSortResults(cfg *config.Config) *SortResults + func (SortResults) Finish() + func (SortResults) Name() string + func (p SortResults) Process(issues []result.Issue) ([]result.Issue, error) + type SourceCode struct + func NewSourceCode(lc *fsutils.LineCache, log logutils.Log) *SourceCode + func (SourceCode) Finish() + func (SourceCode) Name() string + func (p SourceCode) Process(issues []result.Issue) ([]result.Issue, error) + type UniqByLine struct + func NewUniqByLine(cfg *config.Config) *UniqByLine + func (*UniqByLine) Finish() + func (*UniqByLine) Name() string + func (p *UniqByLine) Process(issues []result.Issue) ([]result.Issue, error)