Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BoolOptions = []string{"true", "false"}
Functions ¶
func NewSurveyor ¶
func NewSurveyor() *surveyor
Types ¶
type FakeSurveyor ¶
type FakeSurveyor struct {
AskInputMessages map[string]string
AskSelectMessages map[string]string
AskMultiSelectMessages map[string][]string
}
FakeSurveyor implements Surveyor and returns fake objects. This doesn't guarantee thread-safety.
func (*FakeSurveyor) AskMultiSelect ¶
func (s *FakeSurveyor) AskMultiSelect(message string, options []string) ([]string, error)
Click to show internal directories.
Click to hide internal directories.