Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Question ¶
Question provides an interactive session.
type Selection ¶
Selection wraps a list of items. It is used for interactive communication.
func NewSelection ¶
func NewSelection() Selection
NewSelection prepares an empty collection for interactive input.
func (Selection) Display ¶
Display shows a numbered list of the solutions to choose from. The list starts at 1, since that seems better in a user interface.
func (Selection) Get ¶
Get returns the solution corresponding to the number. The list starts at 1, since that seems better in a user interface.
Click to show internal directories.
Click to hide internal directories.