Versions in this module Expand all Collapse all v0 v0.2.0 Jan 7, 2023 Changes in this version + type Enum struct + func EnumByTypeAndName(name string) (Enum[T], error) + func EnumsByType() []Enum[T] + func New(name string) Enum[T] + func (e *Enum) Scan(value any) error + func (e *Enum) UnmarshalJSON(data []byte) error + func (e *Enum) UnmarshalText(text []byte) error + func (e *Enum) Valid() bool + func (e Enum) ID() T + func (e Enum) MarshalJSON() ([]byte, error) + func (e Enum) MarshalText() ([]byte, error) + func (e Enum) Name() string + func (e Enum) String() string + func (e Enum) Value() (driver.Value, error)