Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Settings ¶
type Settings struct {
// The functions are fully qualified function names including the package (e.g. fmt.Printf).
Functions []string `json:"functions"`
// FunctionsPerPackage is a map of package names to the functions that should be checked.
FunctionsPerPackage functionsPerPackage
}
Settings holds all the settings for the UseqAnalyzer.
func ReadSettingsFromFile ¶ added in v1.3.1
ReadSettingsFromFile reads the settings from the given path.
type UseqAnalyzer ¶
UseqAnalyzer is the main struct for the linter plugin.
func (*UseqAnalyzer) Compile ¶ added in v1.2.0
func (u *UseqAnalyzer) Compile() error
Compile will compile the settings for the analyzer.
Click to show internal directories.
Click to hide internal directories.