Registry / utility / nishanths-exhaustive

nishanths-exhaustive

JSON →
library0.12.0gogounverified

Provides an analyzer that checks exhaustiveness of switch statements and map literals for enum-like constants in Go source code.

go get github.com/nishanths/exhaustive
INSTALL
IMPORT
SIG · NISHANTHS-EXHAUSTI
N
nishanths-exhaustive
utilitygov0.12.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

exhaustive
github.com/nishanths/exhaustive

Prints the name of the exhaustive analyzer.

package main import ( "fmt" "github.com/nishanths/exhaustive" ) func main() { fmt.Println(exhaustive.Analyzer.Name) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.12.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
nishanths-exhaustive — go get nishanths-exhaustive · libregistry