package
0.1.48
Repository: https://github.com/aesoper101/x.git
Documentation: pkg.go.dev

# Functions

ChainCloser chains the closers by calling them in order.
CompositeReadCloser returns a io.ReadCloser that is a composite of the Reader and Closer.
CompositeReadWriteCloser returns a io.ReadWriteCloser that is a composite of the Reader, Writer, and Closer.
CompositeWriteCloser returns a io.WriteCloser that is a composite of the Writer and Closer.
LockedWriter creates a locked Writer.
NopWriteCloser returns an io.WriteCloser with a no-op Close method wrapping the provided io.Writer.
ReadAllAndClose reads all the data and then closes the ReadCloser.
ReaderAtForReader converts an io.Reader to an io.ReaderAt.

# Variables

DiscardReadCloser is an io.ReadCloser in which all calls return 0 and io.EOF.
DiscardReader is an io.Reader in which all calls return 0 and io.EOF.
DiscardWriteCloser is a discard io.WriteCloser.
NopCloser is a no-op closer.