If a custom function returns ErrStop, the field checks after this field where in the same struct are stopped.
Update:
Use io.ErrUnexpectedEOF in the validator to indicate an error in the validation.
Hi, since io.EOF is used in validator, I use io.EOF to represent stopping the validation of the current struct fields. Please help to see if this way is possible
close #34
If a custom function returns ErrStop, the field checks after this field where in the same struct are stopped.
Update: Use io.ErrUnexpectedEOF in the validator to indicate an error in the validation.
Hi, since io.EOF is used in validator, I use io.EOF to represent stopping the validation of the current struct fields. Please help to see if this way is possible