analyzer

package
v0.0.0-...-dd42548 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnalyzer

func NewAnalyzer() *analysis.Analyzer

NewAnalyzer creates a new analyzer that parses flags for runner config.

func NewAnalyzerWithConfig

func NewAnalyzerWithConfig(c Config) *analysis.Analyzer

NewAnalyzer creates a new analyzer that parses flags for runner config.

Types

type Config

type Config struct {
	CheckConstsInline bool
	CheckConstsBlocks bool

	CheckVarInline bool
	CheckVarBlocks bool

	CheckStructs bool
}

Jump to

Keyboard shortcuts

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