Documentation
¶
Overview ¶
Package enums collects allowed values of enum-like types: named types with a builtin underlying type and a const block, e.g.
type ModeEnum int const ( ModeUnknown ModeEnum = iota // unknown ModeFast ModeEnum = iota // fast )
A const value is its line comment (stringer -linecomment), or its string literal for string types. A type is an enum only if every const of it has one of those, so typed constants like sizes or timeouts are not listed. The `unknown` value and unexported consts of an exported type are skipped: they mark an unset value or a bound, not a valid one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.