module

package
v0.0.0-...-c6e0a78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(settings any) (register.LinterPlugin, error)

Types

type InterfaceguardPlugin

type InterfaceguardPlugin struct {
	*analysis.Analyzer
}

func (*InterfaceguardPlugin) BuildAnalyzers

func (p *InterfaceguardPlugin) BuildAnalyzers() ([]*analysis.Analyzer, error)

func (*InterfaceguardPlugin) GetLoadMode

func (p *InterfaceguardPlugin) GetLoadMode() string

type InterfaceguardSettings

type InterfaceguardSettings struct {
	DisableInterfaceComparison bool `json:"disable-interface-to-interface"`
	DisableNilComparison       bool `json:"disable-interface-to-nil"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL