Documentation
¶
Index ¶
- type Model
- func (m Model) AllComplete() bool
- func (m Model) Init() tea.Cmd
- func (m Model) NextTask() tea.Msg
- func (m Model) PrevTask() tea.Msg
- func (m Model) TimeFinished(sum time.Duration) time.Duration
- func (m Model) TimeLeft(sum time.Duration) time.Duration
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
- type NextTaskMsg
- type PrevTaskMsg
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
func (Model) AllComplete ¶
type NextTaskMsg ¶
type NextTaskMsg struct{}
type PrevTaskMsg ¶
type PrevTaskMsg struct{}
Click to show internal directories.
Click to hide internal directories.