Move I/O utilities to io.go

This commit is contained in:
Adnan Maolood
2021-02-23 20:49:42 -05:00
parent a65c3c3d4f
commit e8d98ef4ec
4 changed files with 105 additions and 103 deletions

View File

@@ -123,15 +123,3 @@ func TestReadWriteResponse(t *testing.T) {
}
}
}
type nopCloser struct {
io.Writer
}
func (w nopCloser) Write(b []byte) (int, error) {
return w.Writer.Write(b)
}
func (nopCloser) Close() error {
return nil
}