Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialog ¶
type Dialog struct { // The text of the choices, one per string. Choices []string // The question. Question string }
Dialog represents a text-based multiple-choice dialog.
func (*Dialog) AddChoices ¶
AddChoice adds the input string as a choice to the dialog.
Click to show internal directories.
Click to hide internal directories.