by zalmoxes · 9y ago · 0 comments
an http Response.Body is a io.ReadCloser so you can pass it directly with `html.Parse(response.Body)`
But don't forget to defer io.Close the body.
https://mionskowski.pl/html-golang-stream-processing