Versions in this module Expand all Collapse all v1 v1.2.0 May 1, 2026 Changes in this version + var ErrLocaleMandatory = errors.New("Locale is mandatory") + var ErrTagMandatory = errors.New("Tag is mandatory") + var ErrTextMandatory = errors.New("Text is mandatory") v1.1.0 May 1, 2026 Changes in this version + type Translation struct + IgnoreFallback bool + IgnoreOverride bool + Locale Locale + Tag string + Text string + TranslationFn validator.TranslationFunc type Valid8 + func (v *Valid8) RegisterTranslation(translation Translation) v1.0.0 May 1, 2026 Changes in this version + func ErrorsToMap(errors []ValidationErrors) map[string]string + func WithAllLocales() configFunc + func WithLocales(locales ...Locale) configFunc + type Locale string + const DE + const EN + const ES + const FR + const JA + const PT_BR + const ZH + const ZHTW + type Valid8 struct + Validator *validator.Validate + func New(opts ...configFunc) *Valid8 + func (v *Valid8) Struct(s any, language Locale) []ValidationErrors + type ValidationErrors struct + func (v *ValidationErrors) Message() string + func (v *ValidationErrors) Namespace() string