analyzer

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// FlagAllName name of the 'all' flag in cli.
	FlagAllName = "all"
	// FlagMaxRecursionLevelName name of the 'max-recursion-level' flag in cli.
	FlagMaxRecursionLevelName = "max-recursion-level"
)

Variables

This section is empty.

Functions

func New

func New(opts ...Option) *analysis.Analyzer

New analyzer constructor. Will bind flagset all and max-recursion-level.

Types

type Option added in v0.4.0

type Option func(*conf)

Option type.

func WithFlagPrefix added in v0.4.0

func WithFlagPrefix(prefix string) Option

WithFlagPrefix functional option.

Jump to

Keyboard shortcuts

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