Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockedStdin ¶
type MockedStdin struct {
// contains filtered or unexported fields
}
func MockStdin ¶
func MockStdin() (*MockedStdin, error)
func (*MockedStdin) Close ¶
func (ms *MockedStdin) Close() (err error)
func (*MockedStdin) Write ¶
func (ms *MockedStdin) Write(input string) error
type MockedStdout ¶
type MockedStdout struct {
// contains filtered or unexported fields
}
func MockStdout ¶
func MockStdout() (*MockedStdout, error)
func (*MockedStdout) Close ¶
func (ms *MockedStdout) Close() (err error)
func (*MockedStdout) Read ¶
func (ms *MockedStdout) Read() (string, error)
Click to show internal directories.
Click to hide internal directories.