Versions in this module Expand all Collapse all v0 v0.1.1 Dec 21, 2025 Changes in this version + var ErrValidationDuplicateValue = errors.New("duplicate value found") + var ErrValidationNoUndefined = errors.New("no undefined value found") + var ErrValidationNoValues = errors.New("no values found") + type Data struct + Name string + SnakeName string + Translate string + Value int64 + type Enum []*Data + func (e *Enum) Validate(forceUndefined bool) error