Documentation
¶
Overview ¶
Package accessibility provides accessible functions to capture user input.
Deprecated: use internal/accessibility instead.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PromptBool
deprecated
func PromptBool() bool
PromptBool prompts a user for a boolean value.
Given invalid input (non-boolean), the user will continue to be reprompted until a valid input is given, ensuring that the return value is always valid.
Deprecated: use accessibility.PromptBool instead.
func PromptInt
deprecated
PromptInt prompts a user for an integer between a certain range.
Given invalid input (non-integers, integers outside of the range), the user will continue to be reprompted until a valid input is given, ensuring that the return value is always valid.
Deprecated: use accessibility.PromptInt instead.
func PromptString
deprecated
PromptString prompts a user for a string value and validates it against a validator function. It re-prompts the user until a valid input is given.
Deprecated: use accessibility.PromptString instead.
Types ¶
This section is empty.