Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Analyze ¶
func Analyze(inspectFunc InspectFunc) func(pass *analysis.Pass) (interface{}, error)
Analyze generates a `run` function for a linter, based on a simple template: it does filtering based on configured glob patterns; it collects import aliases and sends it as a linter function param it collects reports from a linter function and checks them against nolint rules
Types ¶
Click to show internal directories.
Click to hide internal directories.