list

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New() Model

func (Model) AllItems

func (m Model) AllItems() []MyItem

func (Model) CurentItem

func (m Model) CurentItem() MyItem

func (Model) CurrentItemIndex added in v0.0.4

func (m Model) CurrentItemIndex() int

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) SetSize added in v0.0.2

func (m *Model) SetSize(width, height int)

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

type MyItem added in v0.0.7

type MyItem struct {
	// contains filtered or unexported fields
}

func (MyItem) Command added in v0.0.7

func (i MyItem) Command() string

func (MyItem) DateAdded added in v0.0.7

func (i MyItem) DateAdded() time.Time

func (MyItem) DateUpdated added in v0.0.7

func (i MyItem) DateUpdated() time.Time

func (MyItem) Description added in v0.0.7

func (i MyItem) Description() string

func (MyItem) FilterValue added in v0.0.7

func (i MyItem) FilterValue() string

func (MyItem) Title added in v0.0.7

func (i MyItem) Title() string

Jump to

Keyboard shortcuts

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