Versions in this module Expand all Collapse all v1 v1.9.2 Jul 31, 2023 v1.9.1 Jul 31, 2023 Changes in this version + const DefaultFieldMsg + const KeyBind + const KeyMsg + const KeyRegex + const NumericRegexString + var TimeType = reflect.TypeOf(time.Time{}) + var ValidatorFunc = map[string]Func + func DefaultVal(tag reflect.StructTag, param string) (string, bool) + func FieldTimeVal(val string, tag reflect.StructTag) (time.Time, error) + func Head(str, sep string) (head string, tail string) + func Param(tag reflect.StructTag, param string) string + type BaseFiled struct + CurDataIdx string + CurInheritTag reflect.StructTag + CurKey string + CurParam string + CurRule Info + CurTag reflect.StructTag + Track []string + ValidTagName string + func (f *BaseFiled) CustomMsg() (string, bool) + func (f *BaseFiled) Err() error + func (f *BaseFiled) PopTrack() + func (f *BaseFiled) PushTrack(elem string) + func (f *BaseFiled) WrapperErr(err error) error + type Field interface + Bool func() (bool, bool) + CurDataIndex func() string + DefaultVal func() string + DefaultValExits func() bool + Exist func() bool + Float func() (float64, bool) + InheritTag func() reflect.StructTag + Int func() (int64, bool) + IsArray func() bool + IsBool func() bool + IsNumeric func() bool + IsObject func() bool + Key func() string + Len func() int + MapKeys func() []string + MustBool func() bool + MustFloat func() float64 + MustInt func() int64 + MustStr func() string + MustUint func() uint64 + ParamKey func() string + Parent func() reflect.Type + Raw func() string + Root func() reflect.Type + RuleName func() string + RuleVal func() string + Self func() reflect.Type + SetDataIdx func(idx string) + Str func() (string, bool) + StructField func(valType reflect.Type, namespace string) (Field, bool) + Tag func() reflect.StructTag + ToString func() string + Uint func() (uint64, bool) + type Func func(fl Field) bool + type Info struct + Level []string + Name string + Val string + type Inherits []Info + func (i Inherits) Contains(key string) bool + func (i Inherits) IndexOf(key string) int + type NumericT interface