Documentation
¶
Index ¶
- func Marshal[Enum ~string](value Enum, allowed map[Enum]struct{}) ([]byte, error)
- func Scan[Enum ~string](src any, out *Enum, allowed map[Enum]struct{}) error
- func Set[Enum ~string](vals []Enum) map[Enum]struct{}
- func Unmarshal[Enum ~string](b []byte, out *Enum, allowed map[Enum]struct{}) error
- func Validate[Enum ~string](value Enum, allowed map[Enum]struct{}) error
- func Value[Enum ~string](value Enum, allowed map[Enum]struct{}) (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.