Skip to content

Commit 3c3a025

Browse files
arjan-balash2k
andauthored
mem: replace flate.Reader reference (#7595) (#7637)
Co-authored-by: Mikhail Mazurskiy <[email protected]>
1 parent 3ffb98b commit 3c3a025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mem/buffer_slice.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
package mem
2020

2121
import (
22-
"compress/flate"
2322
"io"
2423
)
2524

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

0 commit comments

Comments
 (0)