Versions in this module Expand all Collapse all v0 v0.2.1 Sep 22, 2015 Changes in this version + var BakedInValidators = map[string]Func + type FieldError struct + Field string + IsMap bool + IsPlaceholderErr bool + IsSliceOrArray bool + Kind reflect.Kind + MapErrs map[interface{}]error + Param string + SliceOrArrayErrs map[int]error + Tag string + Type reflect.Type + Value interface{} + func (e *FieldError) Error() string + func (e *FieldError) Flatten() map[string]*FieldError + type Func func(top interface{}, current interface{}, f interface{}, param string) bool + type StructErrors struct + Errors map[string]*FieldError + Struct string + StructErrors map[string]*StructErrors + func (e *StructErrors) Error() string + func (e *StructErrors) Flatten() map[string]*FieldError + type Validate struct + func New(tagName string, funcs map[string]Func) *Validate + func (v *Validate) AddFunction(key string, f Func) error + func (v *Validate) Field(f interface{}, tag string) *FieldError + func (v *Validate) FieldWithValue(val interface{}, f interface{}, tag string) *FieldError + func (v *Validate) SetMaxStructPoolSize(max int) + func (v *Validate) SetTag(tagName string) + func (v *Validate) Struct(s interface{}) *StructErrors