package TestUtil
import "github.com/AlecAivazis/survey/v2/tests/util"
Index ¶
- func RunErrorTable(table []TestTableEntry)
- func RunTable(table []TestTableEntry)
- type TestTableEntry
Functions ¶
func RunErrorTable ¶
func RunErrorTable(table []TestTableEntry)
func RunTable ¶
func RunTable(table []TestTableEntry)
Types ¶
type TestTableEntry ¶
type TestTableEntry struct { Name string Prompt survey.Prompt Value interface{} Validate func(interface{}) error }
Source Files ¶
- Version
- v2.3.7 (latest)
- Published
- Dec 8, 2022
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 5 days ago –
Tools for package owners.