Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Enum ¶
S must be a struct type with fields of type V. The field names will be used as the enum keys, and the field values will be used as the enum values.
func New ¶
S must be a struct type with fields of type V. The field names will be used as the enum keys, and the field values will be used as the enum values.
func (Enum[V, N, S]) NativeValues ¶
func (e Enum[V, N, S]) NativeValues() []N
Click to show internal directories.
Click to hide internal directories.