Versions in this module Expand all Collapse all v1 v1.0.1 Sep 29, 2023 v1.0.0 Jun 3, 2023 Changes in this version + const EmailField + const MaxMessageLength + const MaxNameLength + const MessageField + const MinMessageLength + const MinNameLength + const NameField + type ContactFormValidator struct + func NewContactFormValidator() *ContactFormValidator + func (v *ContactFormValidator) Check(request any) + func (v *ContactFormValidator) FieldErrors() map[string]string + func (v *ContactFormValidator) GlobalError() string + func (v *ContactFormValidator) Valid() bool + type Validator interface + Check func(request any) + FieldErrors func() map[string]string + GlobalError func() string + Valid func() bool