Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UI ¶
type UI interface { Println(a interface{}) InfoPrintln(a interface{}) ErrPrintln(a interface{}) Writer() io.Writer ErrWriter() io.Writer }
UI provides formatted I/O interfaces. It is used from Evans's standard I/O and CLI mode I/O.
func New ¶
New creates a new UI with passed io.Reader, io.Writers. In normal case, you can use NewBasic instead of New.
func NewColored ¶
NewColored wraps provided `ui` with coloredUI. If `ui` is *coloredUI, NewColored returns it as it is. Colored output works fine in Windows environment.
Click to show internal directories.
Click to hide internal directories.