Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSurvey ¶
type FakeSurvey struct {
// contains filtered or unexported fields
}
FakeSurvey is a fake survey that just returns predefined strings
func (*FakeSurvey) Question ¶
func (f *FakeSurvey) Question(params *surveypkg.QuestionOptions) (string, error)
Question asks a question and returns a fake answer
func (*FakeSurvey) SetNextAnswer ¶
func (f *FakeSurvey) SetNextAnswer(answer string)
SetNextAnswer will set the next answer for the question function
Click to show internal directories.
Click to hide internal directories.