Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestWriter ¶
type TestWriter struct {
// contains filtered or unexported fields
}
TestWriter chains to another io.Writer and replaces certain characters as they pass through it for writing.
func NewTestWriter ¶
func NewTestWriter(w io.Writer) *TestWriter
NewTestWriter returns a new io.Writer which translates spaces into underscores and adornes new lines with a down-leftwards pointing arrow, and finally writing the result to a chained io.Writer.
Click to show internal directories.
Click to hide internal directories.