Documentation ¶
Overview ¶
Package ioutil provides extensions to the stdlib ioutil package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DiscardReader is an io.Reader in which all calls return 0 and io.EOF. DiscardReader io.Reader = discardReader{} // ErrShortWrite is the errur returned from WriteAll if the amount written is less // than the input data length. ErrShortWrite = errs.NewInternal("wrote less bytes than requested") )
Functions ¶
func NopWriteCloser ¶
func NopWriteCloser(writer io.Writer) io.WriteCloser
NopWriteCloser returns an io.WriteCloser with a no-op Close method wrapping the provided io.Writer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.