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
https://geektutu.com/post/gee-day5.html 这里已经是day5-middleware的部分了,但是文章中的示例代码还是把代母所处的存放路径写成了day4-group。 希望能够更严谨些,纠正一下这个错误。
The text was updated successfully, but these errors were encountered:
然后还有一点是,在这个章节里没有出现下面这段关于Fail方法的代码。
func (c *Context) Fail(code int, err string) { c.index = len(c.handlers) c.JSON(code, H{"message": err}) }
但是在底下使用Demo的部分却调用了Fail方法,可能也需要在文章中增加这段代码。
Sorry, something went wrong.
No branches or pull requests
https://geektutu.com/post/gee-day5.html
这里已经是day5-middleware的部分了,但是文章中的示例代码还是把代母所处的存放路径写成了day4-group。
希望能够更严谨些,纠正一下这个错误。
The text was updated successfully, but these errors were encountered: