Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedIO = errors.New("unsupported io operation")
)
View Source
var Null = null{}
Null is a reader/writer that returns EOF to all reads and writes
Functions ¶
func NewRunesScanner ¶
Creates a new bufio.Scanner that is configured to scan words separated by one of the runes provided
func ReverseString ¶
Types ¶
type ErrorReadWriterErrR ¶
A ReadWriter that returns ErrUnsupportedIO for read operations
func (ErrorReadWriterErrR) Close ¶
func (e ErrorReadWriterErrR) Close() error
type ErrorReadWriterErrW ¶
A ReadWriter that returns ErrUnsupportedIO for write operations
func (ErrorReadWriterErrW) Close ¶
func (e ErrorReadWriterErrW) Close() error
type NopWriteCloser ¶
type NopWriteCloser struct {
// contains filtered or unexported fields
}
func NewNopWriteCloser ¶
func NewNopWriteCloser(w io.Writer) *NopWriteCloser
func (NopWriteCloser) Close ¶
func (w NopWriteCloser) Close() error
Click to show internal directories.
Click to hide internal directories.