TestUtil

package
v2.0.9-0...-5605a43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL