lookuptablelint

package module
v0.0.0-...-4e0881e Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 10 Imported by: 0

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.

Directories

Path Synopsis
cmd
lookuptablelint command

Jump to

Keyboard shortcuts

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