mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-11 03:47:59 +00:00
15 lines
357 B
Go
15 lines
357 B
Go
package util
|
|
|
|
import "io"
|
|
|
|
// IOStreams provides the standard names for iostreams. This is useful for embedding and for unit testing.
|
|
// Inconsistent and different names make it hard to read and review code
|
|
type IOStreams struct {
|
|
// In think, os.Stdin
|
|
In io.Reader
|
|
// Out think, os.Stdout
|
|
Out io.Writer
|
|
// ErrOut think, os.Stderr
|
|
ErrOut io.Writer
|
|
}
|