Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PromptUserForValues ¶
Types ¶
type AskFunc ¶
type AskFunc func(prompt survey.Prompt, opts []survey.AskOpt) (interface{}, error)
NOTE: Since survey.AskOne tries to cast the answer to the type of the response value pointer and the type of response value can not be interface{}, we need to create different ask functions for each response type and return interface{}
Click to show internal directories.
Click to hide internal directories.