asasalint

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 8 Imported by: 6

README

asasalint

Golang linter, lint pass any slice as any in variadic function

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:             "asasalint",
	Doc:              "check for pass []any as any in func(...any)",
	Run:              run,
	RunDespiteErrors: true,
	Requires:         []*analysis.Analyzer{inspect.Analyzer},
}

Functions

This section is empty.

Types

type Searcher

type Searcher struct {
	Pass *analysis.Pass
	// contains filtered or unexported fields
}

func (*Searcher) CheckAndReport

func (s *Searcher) CheckAndReport(n ast.Node, push bool) bool

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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