Versions in this module Expand all Collapse all v0 v0.2.0 Jan 6, 2016 Changes in this version + type Logged struct + Ui Ui + func (l *Logged) Header(msg string) + func (l *Logged) Input(opts *InputOpts) (string, error) + func (l *Logged) Message(msg string) + func (l *Logged) Raw(msg string) type Mock + InputCalled bool + InputOpts *InputOpts + type Null struct + func (*Null) Header(string) + func (*Null) Input(*InputOpts) (string, error) + func (*Null) Message(string) + func (*Null) Raw(string) v0.1.2 Oct 20, 2015 v0.1.1 Sep 28, 2015 Changes in this version + func Colorize(t string) string + func StripColors(t string) string + type InputOpts struct + Default string + Description string + EnvVars []string + Hide bool + Id string + Query string + func (o *InputOpts) EnvVarValue() string + type Mock struct + HeaderBuf []string + InputError error + InputResult string + MessageBuf []string + RawBuf []string + func (u *Mock) Header(msg string) + func (u *Mock) Input(opts *InputOpts) (string, error) + func (u *Mock) Message(msg string) + func (u *Mock) Raw(msg string) + type Styled struct + func (u *Styled) Header(msg string) + func (u *Styled) Message(msg string) + type Ui interface + Header func(string) + Input func(*InputOpts) (string, error) + Message func(string) + Raw func(string)