Versions in this module Expand all Collapse all v1 v1.0.5 Feb 15, 2019 Changes in this version + type RegretableReader struct + func NewRegretableReader(r io.Reader) *RegretableReader + func NewRegretableReaderSize(r io.Reader, size int) *RegretableReader + func (rb *RegretableReader) Forget() + func (rb *RegretableReader) Read(p []byte) (n int, err error) + func (rb *RegretableReader) Regret() + type RegretableReaderCloser struct + func NewRegretableReaderCloser(rc io.ReadCloser) *RegretableReaderCloser + func NewRegretableReaderCloserSize(rc io.ReadCloser, size int) *RegretableReaderCloser + func (rbc *RegretableReaderCloser) Close() error