Documentation ¶
Overview ¶
Package dingo provides checks targeting dingo-specific problems
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
The Analyzer holds a set of checks, uses the config and has props that can be defined to get read by the config
func (*Analyzer) ChecksToExecute ¶
ChecksToExecute decides which checks to run
func (*Analyzer) Inject ¶
func (d *Analyzer) Inject(config configuration.AnalyzerConfig)
Inject dependencies
type Props ¶
type Props struct { Name string CheckPointerReceiver bool CheckStrictTagsAndFunctions bool CheckCorrectInterfaceToInstanceBinding bool }
Props of an analyzer which will be used by the config-module to match the entries of a file to these variables. Is used to activate and deactivate checks, for example.
Click to show internal directories.
Click to hide internal directories.