We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"github.com/go-playground/validator/v10/translations/zh" //这是validator自带的多语言包.
可以给Config增加一个可选参数设置validator错误提示的语言,
比如 SetTranslator:"zh",
没设置SetTranslator默认就英文. 对存量的项目也没啥影响.
这样是不是就更加人性化啊.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
"github.com/go-playground/validator/v10/translations/zh" //这是validator自带的多语言包.
可以给Config增加一个可选参数设置validator错误提示的语言,
比如 SetTranslator:"zh",
没设置SetTranslator默认就英文. 对存量的项目也没啥影响.
这样是不是就更加人性化啊.
The text was updated successfully, but these errors were encountered: