14 lines
229 B
Go
14 lines
229 B
Go
package command
|
|
|
|
// outputStub implements a simple utils.Runnable
|
|
type outputStub struct {
|
|
output []byte
|
|
}
|
|
|
|
func (s outputStub) Output() ([]byte, error) {
|
|
return s.output, nil
|
|
}
|
|
|
|
func (s outputStub) Run() error {
|
|
return nil
|
|
}
|