New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dirpath fails on non-existing directory #1212
Comments
Without a repro it's impossible to say what is wrong here, and our tests are not failing and working, If you can provide a repro then I can look into it |
sure, give me a few days. I am quite busy right now. Thanks for your attention |
I'm having the same issue, |
As GoValidator incorrectly checks for a directory existence. See go-playground/validator#1212
As GoValidator incorrectly checks for a directory existence. See go-playground/validator#1212
somehow I forgot the demo-program. Below is my attempt. It currently fails, and should fail on most unixes.
|
Package version eg. v10:
Issue, Question or Enhancement:
The way I read the documentation the tag
dirpath
should pass for non-existing directories. This currently returns the error:I expect:
dir
: existing directoriesdirpath
: strings that could be a directory.Code sample, to showcase or reproduce:
The text was updated successfully, but these errors were encountered: