userinput

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateErrorInputModel

func CreateErrorInputModel(err error) model

CreateErrorInputModel creates a textinput step with the given error

func InitialTextInputModel

func InitialTextInputModel(output *Output, header string, program *program.Algorithm) model

InitialModel initializes the model for the textinput step

Types

type Output

type Output struct {
	Output    string
	OutputInt int
}

Output represents the text provided in a textinput step

Jump to

Keyboard shortcuts

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