Versions in this module Expand all Collapse all v0 v0.0.1 Jun 21, 2026 Changes in this version + type Buffer struct + func NewBuffer() *Buffer + func (b *Buffer) Clear() + func (b *Buffer) Count() int + func (b *Buffer) Lines() []string + func (b *Buffer) String() string + func (b *Buffer) Write(output string) error + type ErrorInjector struct + func NewErrorInjector(wrapped OutputFunc, errorAt int, err error) *ErrorInjector + func (e *ErrorInjector) Write(output string) error + type OutputFunc func(output string) error + func StderrFunc(w io.Writer) OutputFunc + func StdoutFunc(w io.Writer) OutputFunc + type Tee struct + func NewTee(outputs ...OutputFunc) *Tee + func (t *Tee) Write(output string) error