We may prefer to send it to /dev/null directly, it's much better performing.
~~~ go
io.Copy(ioutil.Discard, resp.Body)
~~~