Documentation ¶ Index ¶ type UI func (u *UI) Error(err error) func (u *UI) Loading(message string, f func(progress chan<- string) error) error func (u *UI) Output(format string, a ...interface{}) func (u *UI) Prompt(message string) string func (u *UI) Warn(format string, a ...interface{}) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type UI ¶ type UI struct { Out io.Writer Err io.Writer In io.Reader ErrIsTerm bool } func (*UI) Error ¶ func (u *UI) Error(err error) func (*UI) Loading ¶ func (u *UI) Loading(message string, f func(progress chan<- string) error) error func (*UI) Output ¶ func (u *UI) Output(format string, a ...interface{}) func (*UI) Prompt ¶ func (u *UI) Prompt(message string) string func (*UI) Warn ¶ func (u *UI) Warn(format string, a ...interface{}) Source Files ¶ View all Source files ui.go Click to show internal directories. Click to hide internal directories.