Documentation
¶
Index ¶
- type Renderer
- func (_m *Renderer) InputMenu(ctx context.Context, title string, validateFunc func(string) error) (string, error)
- func (_m *Renderer) Logo()
- func (_m *Renderer) SelectionMenu(ctx context.Context, title string, items []string) (string, error)
- func (_m *Renderer) TextMenu(ctx context.Context, title string) (string, error)
- func (_m *Renderer) WithSpinner(title string, fn func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
Renderer is an autogenerated mock type for the Renderer type
func NewRenderer ¶
NewRenderer creates a new instance of Renderer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Renderer) InputMenu ¶
func (_m *Renderer) InputMenu(ctx context.Context, title string, validateFunc func(string) error) (string, error)
InputMenu provides a mock function with given fields: ctx, title, validateFunc
func (*Renderer) SelectionMenu ¶
func (_m *Renderer) SelectionMenu(ctx context.Context, title string, items []string) (string, error)
SelectionMenu provides a mock function with given fields: ctx, title, items
func (*Renderer) WithSpinner ¶
WithSpinner provides a mock function with given fields: title, fn
Click to show internal directories.
Click to hide internal directories.