refactor: remove unused http ReadCloser adapter
D internal/fetcher/http/buf.go
@@ -1,24 +0,0 @@ -package http - -import ( - "bufio" - "io" - - "github.com/Southclaws/fault" -) - -type Reader struct { - closer io.ReadCloser - *bufio.Reader -} - -func NewReadCloser(body io.ReadCloser) *Reader { - return &Reader{ - closer: body, - Reader: bufio.NewReader(body), - } -} - -func (r *Reader) Close() error { - return fault.Wrap(r.closer.Close()) -}