multiinput

package
v0.0.0-...-f11faa9 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialModel

func InitialModel(choices []steps.Item, selection *Selection, header string, program *program.Algorithm) model

InitialModel returns the initial model for the multiInput step

Types

type Selection

type Selection struct {
	Choice string
}

Selection is the struct that holds the user's selection

func (*Selection) Update

func (s *Selection) Update(msg string)

Update channges the value of the selection

Jump to

Keyboard shortcuts

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