Versions in this module Expand all Collapse all v1 v1.0.1 Jul 30, 2023 v1.0.0 Jul 30, 2023 Changes in this version + const Equal + const Greater + const Less + const None + type AutogeneratedExclude struct + func NewAutogeneratedExclude() *AutogeneratedExclude + func (p *AutogeneratedExclude) Finish() + func (p *AutogeneratedExclude) Name() string + func (p *AutogeneratedExclude) Process(issues []result.Issue) ([]result.Issue, error) + type BaseRule struct + Linters []string + Path string + PathExcept string + Source string + Text string + type ByColumn struct + func (cmp ByColumn) Compare(a, b *result.Issue) compareResult + func (cmp ByColumn) Next() comparator + type ByLine struct + func (cmp ByLine) Compare(a, b *result.Issue) compareResult + func (cmp ByLine) Next() comparator + type ByName struct + func (cmp ByName) Compare(a, b *result.Issue) compareResult + func (cmp ByName) Next() comparator + type Cgo struct + func NewCgo(goenv *goutil.Env) *Cgo + func (Cgo) Finish() + func (p Cgo) Name() string + func (p Cgo) Process(issues []result.Issue) ([]result.Issue, error) + type Diff struct + func NewDiff(onlyNew bool, fromRev, patchFilePath string, wholeFiles bool) *Diff + func (Diff) Finish() + func (p Diff) Name() string + func (p Diff) Process(issues []result.Issue) ([]result.Issue, error) + type Exclude struct + func NewExclude(pattern string) *Exclude + func (p Exclude) Finish() + func (p Exclude) Name() string + func (p Exclude) Process(issues []result.Issue) ([]result.Issue, error) + type ExcludeCaseSensitive struct + func NewExcludeCaseSensitive(pattern string) *ExcludeCaseSensitive + func (p ExcludeCaseSensitive) Name() string + type ExcludeRule struct + type ExcludeRules struct + func NewExcludeRules(rules []ExcludeRule, files *fsutils.Files, log logutils.Log) *ExcludeRules + func (ExcludeRules) Finish() + func (ExcludeRules) Name() string + func (p ExcludeRules) Process(issues []result.Issue) ([]result.Issue, error) + type ExcludeRulesCaseSensitive struct + func NewExcludeRulesCaseSensitive(rules []ExcludeRule, files *fsutils.Files, log logutils.Log) *ExcludeRulesCaseSensitive + func (ExcludeRulesCaseSensitive) Name() string + type FilenameUnadjuster struct + func NewFilenameUnadjuster(pkgs []*packages.Package, log logutils.Log) *FilenameUnadjuster + func (p *FilenameUnadjuster) Finish() + func (p *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 (f Fixer) Finish() + func (f Fixer) Name() string + func (f Fixer) Process(issues []result.Issue) ([]result.Issue, error) + type IdentifierMarker struct + func NewIdentifierMarker() *IdentifierMarker + func (im IdentifierMarker) Finish() + func (im IdentifierMarker) Name() string + func (im IdentifierMarker) Process(issues []result.Issue) ([]result.Issue, error) + type MaxFromLinter struct + func NewMaxFromLinter(limit int, log logutils.Log, cfg *config.Config) *MaxFromLinter + func (p *MaxFromLinter) Finish() + func (p *MaxFromLinter) Name() string + func (p *MaxFromLinter) Process(issues []result.Issue) ([]result.Issue, error) + type MaxPerFileFromLinter struct + func NewMaxPerFileFromLinter(cfg *config.Config) *MaxPerFileFromLinter + func (p *MaxPerFileFromLinter) Finish() + func (p *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 (p *MaxSameIssues) Finish() + func (p *MaxSameIssues) Name() string + func (p *MaxSameIssues) Process(issues []result.Issue) ([]result.Issue, error) + type Nolint struct + func NewNolint(log logutils.Log, dbManager *lintersdb.Manager, ...) *Nolint + func (p *Nolint) Finish() + func (p *Nolint) Name() string + 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 (p PathPrettifier) Finish() + func (p PathPrettifier) Name() string + func (p PathPrettifier) Process(issues []result.Issue) ([]result.Issue, error) + type PathShortener struct + func NewPathShortener() *PathShortener + func (p PathShortener) Finish() + func (p 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 SeverityRule struct + Severity string + type SeverityRules struct + func NewSeverityRules(defaultSeverity string, rules []SeverityRule, files *fsutils.Files, ...) *SeverityRules + func (SeverityRules) Finish() + func (SeverityRules) Name() string + func (p SeverityRules) Process(issues []result.Issue) ([]result.Issue, error) + type SeverityRulesCaseSensitive struct + func NewSeverityRulesCaseSensitive(defaultSeverity string, rules []SeverityRule, files *fsutils.Files, ...) *SeverityRulesCaseSensitive + func (SeverityRulesCaseSensitive) Name() string + type SkipDirs struct + func NewSkipDirs(patterns []string, log logutils.Log, runArgs []string, pathPrefix string) (*SkipDirs, error) + func (p *SkipDirs) Finish() + func (p *SkipDirs) Name() string + func (p *SkipDirs) Process(issues []result.Issue) ([]result.Issue, error) + type SkipFiles struct + func NewSkipFiles(patterns []string, pathPrefix string) (*SkipFiles, error) + func (p SkipFiles) Finish() + func (p SkipFiles) Name() string + func (p SkipFiles) Process(issues []result.Issue) ([]result.Issue, error) + type SortResults struct + func NewSortResults(cfg *config.Config) *SortResults + func (sr SortResults) Finish() + func (sr SortResults) Name() string + func (sr SortResults) Process(issues []result.Issue) ([]result.Issue, error) + type SourceCode struct + func NewSourceCode(lc *fsutils.LineCache, log logutils.Log) *SourceCode + func (p SourceCode) Finish() + func (p SourceCode) Name() string + func (p SourceCode) Process(issues []result.Issue) ([]result.Issue, error) + type UniqByLine struct + func NewUniqByLine(cfg *config.Config) *UniqByLine + func (p *UniqByLine) Finish() + func (p *UniqByLine) Name() string + func (p *UniqByLine) Process(issues []result.Issue) ([]result.Issue, error)