Versions in this module Expand all Collapse all v0 v0.1.3 Nov 3, 2017 Changes in this version + const TagName + var InvalidIPError = stderrors.New("string is not valid IP") + var InvalidURLError = errors.New("string is not valid URL") + func AddKindHook(hook KindHook) (_ struct{}) + func AddTypeHook(hook TypeHook) (_ struct{}) + func DebugHook(f reflect.Type, t reflect.Type, data interface{}) (p interface{}, err error) + func Decode(conf interface{}, result interface{}) error + func DecodeAndValidate(conf interface{}, result interface{}) error + func EndpointStringValidation(value string) bool + func Map(dst, src interface{}) + func MaxSizeValidation(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool + func MaxTimeValidation(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool + func MinSizeValidation(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool + func MinTimeValidation(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool + func StringToAbstractValidation(sv StringValidation) validator.Func + func StringToDataSizeHook(f reflect.Type, t reflect.Type, data interface{}) (interface{}, error) + func StringToIPHook(f reflect.Type, t reflect.Type, data interface{}) (interface{}, error) + func StringToURLHook(f reflect.Type, t reflect.Type, data interface{}) (interface{}, error) + func URLPathStringValidation(value string) bool + func Validate(value interface{}) error + type KindHook mapstructure.DecodeHookFuncKind + type StringValidation func(value string) bool + type TypeHook mapstructure.DecodeHookFuncType