Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Menu ¶
Menu displays a menu allowing a user to choose a single item. Lines in text will be displayed before the menu items. Menu items are just key-value string pairs.
func String ¶
String prompts a user for a string and returns the result. The prompt will have a colon appended to it. The resulting string is stripped of any whitespace.
func StringNotEmpty ¶
StringNotEmpty prompts the user for a non-empty string. It keeps asking until a string is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.