Go library to wrap io.Reader and io.Closer together https://godoc.org/go.yhsif.com/wrapreader
Find a file
2020-08-22 17:08:18 -07:00
.editorconfig Add .editorconfig and LICENSE files 2018-05-28 14:38:58 -07:00
doc.go Split wrapreader to its own repository 2018-05-28 14:03:11 -07:00
go.mod Bump dependencies 2018-10-20 00:21:08 -07:00
go.sum Bump dependencies 2018-10-20 00:21:08 -07:00
LICENSE Add .editorconfig and LICENSE files 2018-05-28 14:38:58 -07:00
README.md Update badge to pkg.go.dev 2020-08-22 17:08:18 -07:00
wrapreader.go Upgrade errbatch dependency 2018-05-28 14:41:23 -07:00
wrapreader_test.go Use log.Fatal instead of panic in example test 2018-07-28 14:56:22 -07:00

PkgGoDev Go Report Card

WrapReader

WrapReader is a Go library. It provides an io.ReadCloser that wraps an io.Reader and an io.Closer together.

It's useful when dealing with io.Reader implementations that wraps another io.ReadCloser, but will not close the underlying reader, such as gzip.Reader.

(Example code)