Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c9dbaa958f | |||
| 442f7b7c0c |
@@ -7,6 +7,11 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
_ io.Reader = (*ReadCloser)(nil)
|
||||||
|
_ io.Closer = (*ReadCloser)(nil)
|
||||||
|
)
|
||||||
|
|
||||||
// ReadCloser adds a Close() to Readers without one
|
// ReadCloser adds a Close() to Readers without one
|
||||||
type ReadCloser struct {
|
type ReadCloser struct {
|
||||||
r io.Reader
|
r io.Reader
|
||||||
|
|||||||
Reference in New Issue
Block a user