analyzer

package
v0.0.0-...-c34a9a7 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnalyzer

func NewAnalyzer() *analysis.Analyzer

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 NewClosedAnalyzer() *analysis.Analyzer

func NewConfigurableAnalyzer

func NewConfigurableAnalyzer(mode ConfigurableModeType) *analysis.Analyzer

func NewDeferOnlyAnalyzer

func NewDeferOnlyAnalyzer() *analysis.Analyzer

Types

type ConfigurableModeType

type ConfigurableModeType string
const (
	ConfigurableAnalyzerDeferOnly ConfigurableModeType = "defer-only"
	ConfigurableAnalyzerClosed    ConfigurableModeType = "closed"
)

type ConifgurableAnalyzer

type ConifgurableAnalyzer struct {
	Mode string
}

Jump to

Keyboard shortcuts

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