| 7 | ) |
| 8 | |
| 9 | type ZstdReader struct { |
| 10 | Body io.ReadCloser // underlying Response.Body |
| 11 | zr *zstd.Decoder // lazily-initialized zstd reader |
| 12 | zerr error // sticky error |
| 13 | } |
| 14 | |
| 15 | func NewZstdReader(body io.ReadCloser) *ZstdReader { |
| 16 | return &ZstdReader{Body: body} |
nothing calls this directly
no outgoing calls
no test coverage detected