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
In the example:middleware/csrf/custom_errorfunc/main.go,the function myErrFunc does not implement what the author wants.
hertz-examples/middleware/csrf/custom_errorfunc/main.go
Lines 32 to 40 in 231bdf8
Lines 42 to 54 in 231bdf8
The switch statement can't be used for error handling in this way, which may be misleading for those reading this example.
The text was updated successfully, but these errors were encountered:
Thanks for the reminder.
Sorry, something went wrong.
No branches or pull requests
In the example:middleware/csrf/custom_errorfunc/main.go,the function myErrFunc does not implement what the author wants.
hertz-examples/middleware/csrf/custom_errorfunc/main.go
Lines 32 to 40 in 231bdf8
hertz-examples/middleware/csrf/custom_errorfunc/main.go
Lines 42 to 54 in 231bdf8
The switch statement can't be used for error handling in this way, which may be misleading for those reading this example.
The text was updated successfully, but these errors were encountered: