search

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterFunc added in v0.1.0

func FilterFunc(search string, templatesAsStrings []string) []list.Rank

func Program

func Program() (*templates.Template, error)

Types

type ListableTemplate added in v0.0.7

type ListableTemplate struct {
	templates.Template
}

func NewListableTemplate added in v0.0.7

func NewListableTemplate(template *templates.Template) *ListableTemplate

func (*ListableTemplate) Description added in v0.0.7

func (t *ListableTemplate) Description() string

func (*ListableTemplate) FilterValue added in v0.0.7

func (t *ListableTemplate) FilterValue() string

func (*ListableTemplate) Title added in v0.0.7

func (t *ListableTemplate) Title() string

func (*ListableTemplate) ToTemplate added in v0.0.7

func (t *ListableTemplate) ToTemplate() *templates.Template

type Model added in v0.1.0

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

func NewModel added in v0.1.0

func NewModel() *Model

func (*Model) Init added in v0.1.0

func (m *Model) Init() tea.Cmd

func (*Model) Update added in v0.1.0

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

func (*Model) View added in v0.1.0

func (m *Model) View() string

type Rank added in v0.1.0

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

Jump to

Keyboard shortcuts

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