Documentation ¶
Index ¶
- type Buffered
- func (b *Buffered) Append(stdout, stderr string) error
- func (b *Buffered) CombinedOutput() string
- func (b *Buffered) Stderr() io.Writer
- func (b *Buffered) StderrString() string
- func (b *Buffered) Stdout() io.Writer
- func (b *Buffered) StdoutString() string
- func (b *Buffered) Write(stdout, stderr string) error
- type Output
- type UI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffered ¶
type Buffered struct {
// contains filtered or unexported fields
}
func NewBuffered ¶
func NewBuffered() *Buffered
func (*Buffered) Append ¶
Append is like Write but ensures that it's on a newline from any previously written data.
func (*Buffered) CombinedOutput ¶
func (*Buffered) StderrString ¶
func (*Buffered) StdoutString ¶
type Output ¶
type Output interface { io.ReadWriter String() string }
Click to show internal directories.
Click to hide internal directories.