You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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: