Versions in this module Expand all Collapse all v0 v0.1.2 May 28, 2023 v0.1.1 May 17, 2023 Changes in this version + const ARRAY_LEN + const ARRAY_MAX_LEN + const ARRAY_MIN_LEN + const DATE_VALIDATION + const EMAIL_VALIDATION + const LENGTH + const MAX_LENGTH + const MIN_LENGTH + const REQUIRED + const TYPE + func GetType() string + type FieldError interface + Message func() string + Name func() string + RuleType func() string + func NewErrorByField(ruleType, fieldName, argument string) FieldError + type Rule interface + Argument func() string + Description func() string + GenerateError func(fieldName string) FieldError + IsSliceRule func() bool + IsValid func(value interface{}) bool + Type func() string + Validator func() validatorFunc + func GetRuleByHint(hint string) Rule + func GetTypeValidator(key string) Rule + func NewRequiredRule(argument string) Rule + func NewSliceRule() Rule + func NewTypeRule() Rule + func NewTypeRuleWithMethod(method validatorFunc) Rule