Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOStreams ¶
IOStreams provides access to standard IO streams.
func (*IOStreams) IsStdinTTY ¶
IsStdinTTY returns true if stdin is connected to a terminal.
func (*IOStreams) IsTerminal ¶
IsTerminal returns true if stdout is connected to a terminal.
func (*IOStreams) TerminalWidth ¶
TerminalWidth returns the width of the terminal, defaulting to 80 if it cannot be determined.
Click to show internal directories.
Click to hide internal directories.