View definition

type CustomTypeValidator

Defined in github.com/asaskevich/govalidator/types.go

Description

CustomTypeValidator is a wrapper for validator functions that returns bool and accepts any type. The second parameter should be the context (in the case of validating a struct: the whole object being validated).

CustomTypeValidator is referenced in 2 repositories

github.com/asaskevich/govalidator github.com/qor/validations