16ef5838c3
This is largely a move to simplify a lot of the readers Also further breaks out functions.
14 lines
188 B
Go
14 lines
188 B
Go
package decompress
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/klauspost/compress/zlib"
|
|
)
|
|
|
|
type GZip struct{}
|
|
|
|
func (g GZip) Reader(src io.Reader) (io.ReadCloser, error) {
|
|
return zlib.NewReader(src)
|
|
}
|