Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnalyzer ¶
NewAnalyzer returns a non-configurable analyzer that defaults to the defer-only mode. Deprecated, this will be removed in v1.0.0.
func NewClosedAnalyzer ¶
func NewConfigurableAnalyzer ¶
func NewConfigurableAnalyzer(mode ConfigurableModeType) *analysis.Analyzer
func NewDeferOnlyAnalyzer ¶
Types ¶
type ConfigurableModeType ¶
type ConfigurableModeType string
const ( ConfigurableAnalyzerDeferOnly ConfigurableModeType = "defer-only" ConfigurableAnalyzerClosed ConfigurableModeType = "closed" )
type ConifgurableAnalyzer ¶
type ConifgurableAnalyzer struct {
Mode string
}
Click to show internal directories.
Click to hide internal directories.