Help us shape the future of Go! Take the 2026 Go Developer Survey

analyze

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer interface {
	Name() string
	Enabled(opts Options) bool
	Run(ctx context.Context, root *node.Node, opts Options) error
}

type Options

type Options struct {
	RunStats  bool
	RunMerkle bool
}

type Suite

type Suite struct {
	// contains filtered or unexported fields
}

func Build

func Build(opts Options, all []Analyzer) *Suite

func NewSuite

func NewSuite(analyzers ...Analyzer) *Suite

func (*Suite) Run

func (s *Suite) Run(ctx context.Context, root *node.Node, opts Options) error

Jump to

Keyboard shortcuts

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