menu

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MenuItem struct {
	ID    int
	Label string
	Emoji string
}

MenuItem represents a menu item

func ShowMainMenu

func ShowMainMenu(input io.Reader, output io.Writer) (MenuItem, error)

ShowMainMenu displays the main menu and returns the user's choice

Jump to

Keyboard shortcuts

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