Documentation
¶
Index ¶
- Variables
- func CheckName(name string) (match bool, err error)
- func Confirm(message string, preselected bool) (confirm bool)
- func Input(message string, suggestion string) (response string)
- func InputName(message string, suggestion string) (response string)
- func MultiSelect(message string, options []string, preselected []string) (selection []string)
- func Select(message string, options []string) (selection string)
- func ValidateName(val interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var NameRegex string = "^[a-zA-Z0-9].[-.a-zA-Z0-9]*$"
NameRegex should be used to verify all names
Functions ¶
func MultiSelect ¶
MultiSelect abstracts survey's multiselect and adds styling
func ValidateName ¶
func ValidateName(val interface{}) error
ValidateName implements the validate func type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.