timer

package
v0.0.0-...-435c340 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackCmd

func BackCmd() tea.Msg

func New

func New(project *projects.Project, db *record.GormRepository) tea.Model

func TickCmd

func TickCmd() tea.Msg

func WrapUpCmd

func WrapUpCmd(pId uint, duration time.Duration) tea.Cmd

Types

type BackMsg

type BackMsg struct{}

type Model

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

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

type TickMsg

type TickMsg struct{}

type WrapperUpMsg

type WrapperUpMsg struct{}

Jump to

Keyboard shortcuts

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