Discover Packages
github.com/tj/go-tea
option
package
Version:
v0.6.1
Opens a new window with list of versions in this module.
Published: Aug 4, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package option provides an option list with a single selectable value.
type Model struct {
Options []string
Selected int
}
Model is the option input model.
Value returns the selected option.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.