exhaustive

command
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Overview

Command exhaustive checks exhaustiveness of enum switch statements.

Usage

The command line usage is:

exhaustive [flags] [packages]

The program checks exhaustiveness of enum switch statements found in the specified packages. The enums required for the analysis don't necessarily have to be declared in the specified packages.

For more about specifying packages, see 'go help packages'.

For help, run 'exhaustive -h'.

For more documentation, see https://godocs.io/github.com/nishanths/exhaustive.

Jump to

Keyboard shortcuts

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