Documentation
¶
Overview ¶
Package enum performs totality checking for switches over enum.
Go emulates enums using a combination of int-type consts defined using iota for the first element. This makes it difficult to know when a switch/case statement covers an entire enum. This pass ensures that any switch over an enum explicitly lists all members.
Index ¶
Constants ¶
View Source
const Doc = `` /* 328-byte string literal not displayed */
Variables ¶
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.