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