From f7c303ae3638733c3d8c9823bb4e98e4c1f6f29b Mon Sep 17 00:00:00 2001 From: Mikhail Mazurskiy <126021+ash2k@users.noreply.github.com> Date: Thu, 12 Sep 2024 03:14:38 +1000 Subject: [PATCH] mem: replace flate.Reader reference (#7595) --- mem/buffer_slice.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mem/buffer_slice.go b/mem/buffer_slice.go index 2d70b5a02f8c..228e9c2f20f2 100644 --- a/mem/buffer_slice.go +++ b/mem/buffer_slice.go @@ -19,7 +19,6 @@ package mem import ( - "compress/flate" "io" ) @@ -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