Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuestionHandler ¶
func QuestionHandler(url string, questions []BaseQuestion)
This function handles the questions.
Types ¶
type BaseQuestion ¶
type BaseQuestion struct { Name string Option *QuestionOption SubQuestion *[]BaseQuestion }
type QuestionOption ¶
type SubQuestion ¶
type SubQuestion struct { Name string Questions []BaseQuestion Validator func(input string, size uint32) error }
Click to show internal directories.
Click to hide internal directories.