Goでnet/httpを使う時のこまごまとした注意 - Qiita

httpクライアント編レスポンスを受け取ったら必ずBodyをCloseすることresp, err := http.DefaultClient.Do(req)if err != nil { re…