filter

package
v0.0.0-...-2c854d4 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoadingStoreState = iota
	FilterState
	ErrorState
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterModel

type FilterModel struct {
	FilteredJson string
	InputJson    string
	Result       string
	// contains filtered or unexported fields
}

func New

func New(path string, filterType string, stdin string) *FilterModel

func (*FilterModel) Init

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

func (*FilterModel) Update

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

func (*FilterModel) View

func (m *FilterModel) View() string

Jump to

Keyboard shortcuts

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