Documentation
¶
Overview ¶
Package lookuptablelint reports small static lookup maps that are better expressed as predicate helpers with single-case switch statements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{
Name: analyzerName,
Doc: "check for small static lookup maps that should be single-case switch predicates",
URL: "https://pkg.go.dev/github.com/omniaura/go-kit/lookuptablelint",
Run: run,
}
Analyzer reports static lookup maps that should be predicate helpers.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.