Skip to content

Commit

Permalink
mem: replace flate.Reader reference (#7595) (#7637)
Browse files Browse the repository at this point in the history
Co-authored-by: Mikhail Mazurskiy <126021+ash2k@users.noreply.github.com>
  • Loading branch information
arjan-bal and ash2k authored Sep 17, 2024
1 parent 3ffb98b commit 3c3a025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mem/buffer_slice.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package mem

import (
"compress/flate"
"io"
)

Expand Down Expand Up @@ -126,7 +125,8 @@ func (s BufferSlice) Reader() Reader {
// Remaining(), which returns the number of unread bytes remaining in the slice.
// Buffers will be freed as they are read.
type Reader interface {
flate.Reader
io.Reader
io.ByteReader
// Close frees the underlying BufferSlice and never returns an error. Subsequent
// calls to Read will return (0, io.EOF).
Close() error
Expand Down

0 comments on commit 3c3a025

Please sign in to comment.