Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringBuffer ¶
type StringBuffer struct {
// contains filtered or unexported fields
}
StringBuffer implements a simple buffer that can be used in tests. It implements the io.Writer interface. Each write will append a string to the Buffer.
func (*StringBuffer) Index ¶ added in v0.9.0
func (l *StringBuffer) Index(i int) string
func (*StringBuffer) Len ¶ added in v0.9.0
func (l *StringBuffer) Len() int