Versions in this module Expand all Collapse all v0 v0.6.3 Aug 15, 2019 v0.6.2 Jan 28, 2019 Changes in this version + type BasicUi struct + ErrorWriter io.Writer + Reader io.Reader + Writer io.Writer + func NewBasicUi() *BasicUi + func (rw *BasicUi) Ask(query string) (string, error) + func (rw *BasicUi) Error(message string) + func (rw *BasicUi) Machine(t string, args ...string) + func (rw *BasicUi) Message(message string) + func (rw *BasicUi) Say(message string) + type MockUi struct + ErrorWriter *bytes.Buffer + Reader io.Reader + Writer *bytes.Buffer + func NewMockUi() *MockUi + func (u *MockUi) Ask(query string) (string, error) + func (u *MockUi) Error(message string) + func (u *MockUi) Machine(t string, args ...string) + func (u *MockUi) Message(message string) + func (u *MockUi) Say(message string) + type UI interface + Ask func(string) (string, error) + Error func(string) + Machine func(string, ...string) + Message func(string) + Say func(string)