Other Go Libraries to Help With Doing HTTP Clients
- ctxhttp - use HTTP clients but do requests timeouts with a context
- httptrace - a good library to pair with ctxhttp; you can use this to trace requests up to the server. this is pretty advanced usage, so I recommend you go here once you have basic performance issues sorted out
- fasthttp - slightly easier-to-use HTTP client. you still have to deal with connection pool details though. still useful if you like the API better
- go-cleanhttp - battle-tested HTTP client. useful to compare against the above code
- gorequest - nicer API, not as geared toward load testing. recommend against this for load tests, but for business logic it's good