Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { libcontext.Context // Debug returns whether debug output is enabled Debug() bool // In returns the reader to read user input from. In() io.Reader // Out returns the writer to send normal output to. Out() io.Writer // ErrOut returns the writer to send error output to. ErrOut() io.Writer }
Context holds the required values to print output.
func DefaultContext ¶
func DefaultContext() Context
Click to show internal directories.
Click to hide internal directories.