Versions in this module Expand all Collapse all v1 v1.0.5 Feb 23, 2026 Changes in this version + type FakedIO struct + func Stderr() *FakedIO + func Stdin(in string) *FakedIO + func StdinBytes(in []byte) *FakedIO + func Stdout() *FakedIO + func (fake *FakedIO) Bytes() ([]byte, error) + func (fake *FakedIO) CloseStdin() *FakedIO + func (fake *FakedIO) Do(f func()) (string, error) + func (fake *FakedIO) Err() error + func (fake *FakedIO) Read(p []byte) (int, error) + func (fake *FakedIO) Restore() + func (fake *FakedIO) Stderr() *FakedIO + func (fake *FakedIO) Stdin(in string) *FakedIO + func (fake *FakedIO) StdinBytes(in []byte) *FakedIO + func (fake *FakedIO) Stdout() *FakedIO + func (fake *FakedIO) String() (string, error)