Versions in this module Expand all Collapse all v1 v1.0.0 Jun 25, 2019 Changes in this version + const StructTagName + const StructTagNonZero + var ErrCannotValidateType = errors.New("cannot validate type") + var ErrTestNonZeroIsZero = errors.New("value is zero") + var ErrUnknownDirective = errors.New("unknown directive") + var ErrUnsupportedType = errors.New("unsupported type") + func GetSchema(dst io.Writer, typ reflect.Type) error + type FieldValidationError struct + Err error + Field reflect.StructField + func (fve FieldValidationError) Error() string + type ValidationError []error + func (ve ValidationError) Error() string + type Validator func(interface{}) error + func CreateValidator(example interface{}) (Validator, error)