anycheck

package
v0.0.0-...-896925b Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue interface {
	Pos() token.Pos
	Message() string
}

type Linter

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

func NewLinter

func NewLinter(options ...Option) (*Linter, error)

func (*Linter) Run

func (l *Linter) Run(nodes []ast.Node) []Issue

type Option

type Option interface {
	// contains filtered or unexported methods
}

func SetAllowAny

func SetAllowAny(v bool) Option

func SetAllowInterface

func SetAllowInterface(v bool) Option

Jump to

Keyboard shortcuts

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