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
你好,我最近在学习gin-mall,我想问一下v3版本中错误的处理(个人有点没看懂),不是很明白在已经有RespError的情况下还要再创建一个ErrorResponse(),我不明白其中的validator,ValidtionErrors,*json.UnmarshalTypeError的处理的作用。之前个人写项目的时候都是直接respError+c.json绑定在一起发送,所以想要问一下这么设计的原因,谢谢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你好,我最近在学习gin-mall,我想问一下v3版本中错误的处理(个人有点没看懂),不是很明白在已经有RespError的情况下还要再创建一个ErrorResponse(),我不明白其中的validator,ValidtionErrors,*json.UnmarshalTypeError的处理的作用。之前个人写项目的时候都是直接respError+c.json绑定在一起发送,所以想要问一下这么设计的原因,谢谢
The text was updated successfully, but these errors were encountered: