Documentation ¶ Index ¶ type Item type Menu func New(a *app.App) (*Menu, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Item ¶ type Item struct { Choice search.Choice Hidden bool Active func() bool // Active returns true if the user has typed the choice directly in the terminal. Handler func() error } type Menu ¶ type Menu struct { Items []Item } func New ¶ func New(a *app.App) (*Menu, error) Source Files ¶ View all Source files new.gotypes.go Click to show internal directories. Click to hide internal directories.