ReadCloser implements io.ReadCloser by reading from a particular io.Reader and then calling the provided "Close()" method.
| 22 | // ReadCloser implements io.ReadCloser by reading from a particular io.Reader |
| 23 | // and then calling the provided "Close()" method. |
| 24 | type ReadCloser struct { |
| 25 | io.Reader |
| 26 | CloseFunc func() error |
| 27 | } |
| 28 | |
| 29 | var _ io.ReadCloser = (*ReadCloser)(nil) |
| 30 |
nothing calls this directly
no outgoing calls
no test coverage detected