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 + type BaseIssue struct + func (b BaseIssue) Position() token.Position + func (b BaseIssue) Replacement() *result.Replacement + type ExtraLeadingSpace struct + func (i ExtraLeadingSpace) Details() string + func (i ExtraLeadingSpace) String() string + type Issue interface + Details func() string + Position func() token.Position + Replacement func() *result.Replacement + String func() string + type Linter struct + func NewLinter(needs Needs, excludes []string) (*Linter, error) + func (l Linter) Run(fset *token.FileSet, nodes ...ast.Node) ([]Issue, error) + type Needs uint + const NeedsAll + const NeedsExplanation + const NeedsMachineOnly + const NeedsSpecific + const NeedsUnused + type NoExplanation struct + func (i NoExplanation) Details() string + func (i NoExplanation) String() string + type NotMachine struct + func (i NotMachine) Details() string + func (i NotMachine) String() string + type NotSpecific struct + func (i NotSpecific) Details() string + func (i NotSpecific) String() string + type ParseError struct + func (i ParseError) Details() string + func (i ParseError) String() string + type UnusedCandidate struct + ExpectedLinter string + func (i UnusedCandidate) Details() string + func (i UnusedCandidate) String() string