i will add to not use the default http.Client/Server,
poor performance, instead use fasthttp
poor performance, instead use fasthttp
Furthermore, the HTTP stack doesn't show up on most web servers' profiles. net/http is better understood by the community, interoperates with libraries better (e.g. golang.org/x/oauth2), and is better supported.
Use net/http.
Fasthttp is great if you can limit your interactions to a minor testable subset of calls but otherwise its not suitable.
However, last time I looked fasthttp was great if you don't care about http2 support or streaming bodies. Unfortunately I do.