analyzer

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *analysis.Analyzer

func NewFromConfig

func NewFromConfig(c *Config) *analysis.Analyzer

Types

type Config

type Config struct {
	RejectBasic bool // reject basic type return value
}

func (*Config) FlagSet

func (c *Config) FlagSet() flag.FlagSet

func (*Config) Run

func (c *Config) Run(pass *analysis.Pass) (interface{}, error)

Jump to

Keyboard shortcuts

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