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
Instead of running main in a goroutine, the net/http/httptest package provides a better way to do API tests. Gin provides a nice example of this: https://github.com/gin-gonic/gin#testing.
main
net/http/httptest
The text was updated successfully, but these errors were encountered:
cilki
No branches or pull requests
Instead of running
main
in a goroutine, thenet/http/httptest
package provides a better way to do API tests. Gin provides a nice example of this: https://github.com/gin-gonic/gin#testing.The text was updated successfully, but these errors were encountered: