Help us shape the future of Go! Take the 2026 Go Developer Survey

selector

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockInit

func MockInit(selectMock func(title string, items []list.Item) (string, error))

func Select

func Select(title string, items []list.Item) (string, error)

Types

type Item

type Item string

func (Item) FilterValue

func (i Item) FilterValue() string

type Selector

type Selector interface {
	Select(title string, items []list.Item) (string, error)
}

Jump to

Keyboard shortcuts

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