app

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartStudySession

func StartStudySession(deckPath string) error

Types

type DeckItem added in v0.0.3

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

type DeckSelectorModel added in v0.0.3

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

func NewDeckSelectorModel added in v0.0.3

func NewDeckSelectorModel(categoryDecks []config.CategoryDecks) *DeckSelectorModel

func (*DeckSelectorModel) GetSelectedDeck added in v0.0.3

func (m *DeckSelectorModel) GetSelectedDeck() string

func (*DeckSelectorModel) Init added in v0.0.3

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

func (*DeckSelectorModel) Update added in v0.0.3

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

func (*DeckSelectorModel) View added in v0.0.3

func (m *DeckSelectorModel) View() string

type UIModel

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

func NewUIModel

func NewUIModel(deck *domain.Deck, filePath string, svc service.DeckService) *UIModel

func (*UIModel) Init

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

func (*UIModel) Update

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

func (*UIModel) View

func (m *UIModel) View() string

Jump to

Keyboard shortcuts

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