Skip to content

Conversation

fengluodb
Copy link

在博客“Go语言动手写Web框架 - Gee第五天”中,给出的onlyForV2()函数,其中c.Fail()函数会导致测试的输出一直是{"message":"Internal Server Error"},服务端打印的结果也不是[200]。将c.Fail()函数改为c.Next()函数才能得到跟博客上相同的输出。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant