~adnano/astronaut

c6343c7c0662fcac1f1b7f9d34d491728f86e441 — Adnan Maolood a month ago 4e7b6c1
io: Remove unused code
1 files changed, 0 insertions(+), 7 deletions(-)

M io.go
M io.go => io.go +0 -7
@@ 20,12 20,5 @@ func (t *teeReader) Read(p []byte) (n int, err error) {
}

func (t *teeReader) Close() error {
	type flusher interface {
		Flush() error
	}

	if f, ok := t.w.(flusher); ok {
		f.Flush()
	}
	return t.r.Close()
}