Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryBuffer ¶
type MemoryBuffer struct {
// contains filtered or unexported fields
}
MemoryBuffer has both Write and Close methods for use as io.WriteCloser when testing (instead of os.Stdout), so tests can assert.Equal results etc.
func NewMemoryBuffer ¶
func NewMemoryBuffer() *MemoryBuffer
func (*MemoryBuffer) Close ¶
func (b *MemoryBuffer) Close() error
func (*MemoryBuffer) String ¶
func (b *MemoryBuffer) String() string
Click to show internal directories.
Click to hide internal directories.