Open dex80526 opened 2 years ago
This PR is to fix issue#454: https://github.com/asaskevich/govalidator/issues/454.
This PR adds extra check if the type is interface before call ValidatorStruct(). Add the corresponding tests.
Hello guys! I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back Link to my repo: create issue there and we'll discuss it.
Description
This PR is to fix issue#454: https://github.com/asaskevich/govalidator/issues/454.
This PR adds extra check if the type is interface before call ValidatorStruct(). Add the corresponding tests.