Versions in this module Expand all Collapse all v1 v1.26.1 May 5, 2020 Changes in this version + type BaseIssue struct + func (b BaseIssue) Position() token.Position + type ExtraLeadingSpace struct + func (i ExtraLeadingSpace) Details() string + func (i ExtraLeadingSpace) String() string + type Issue interface + Details func() string + Position func() token.Position + 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