Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "godanticlint", Doc: "checks that Field{X}() methods correspond to actual struct fields", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Analyzer is the main analyzer that checks Field{X}() methods correspond to struct fields
Functions ¶
Types ¶
type Plugin ¶
type Plugin struct{}
Plugin implements the golangci-lint plugin interface
func (*Plugin) BuildAnalyzers ¶
BuildAnalyzers returns the analyzers for this plugin
func (*Plugin) GetLoadMode ¶
GetLoadMode returns the load mode for this plugin
Click to show internal directories.
Click to hide internal directories.