Documentation ¶ Index ¶ Constants func New(opts ...Option) *analysis.Analyzer type Option func WithFlagPrefix(prefix string) Option 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. Source Files ¶ View all Source files analyzer.go reporter.go Click to show internal directories. Click to hide internal directories.