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
The text was updated successfully, but these errors were encountered:
<feat>: Add validator validation and translation
cd8ca97
- Use validator to validate request data in request handling functions to ensue data correctness - Add translator to translate error message into user-friendly language to improve the user experience. - To implement this feature, we store `uni,v` in the Gin's context at the `router.go` init The implementation was inspired by `https://github.com/go-playground/validator/issues/286#issuecomment-308617838.` `https://github.com/eddycjy/go-programming-tour-book-comments/issues/5#issuecomment-1106424554` Refs #4
No branches or pull requests
The text was updated successfully, but these errors were encountered: