Versions in this module Expand all Collapse all v1 v1.2.0 Sep 13, 2024 v1.1.0 Sep 13, 2024 Changes in this version + var ErrNotValidPassword = errors.New("password is not valid") + var ErrNotValidValue = errors.New("field with value is not valid") + var ErrRequiredField = errors.New("field required") + var ErrUnknownTag = errors.New("unknown tag value") + func Struct(s any) error + type Field struct + Name string + Tags []string + Value reflect.Value + type ValidationErrors struct + Errors []error + func (ve *ValidationErrors) Add(err error) + func (ve ValidationErrors) Error() string + func (ve ValidationErrors) HasErrors() bool + func (ve ValidationErrors) UnWrap() []error