Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SavedTimer ¶
type SavedTimer struct { Name string `json:"name"` Duration time.Duration `json:"duration"` DoneMessage string `json:"done_message"` }
func (SavedTimer) AsTimerModel ¶
func (timer SavedTimer) AsTimerModel() TimerModel
type TimerModel ¶
type TimerModel struct {
// contains filtered or unexported fields
}
func CreateTimer ¶
func CreateTimer(duration time.Duration, name string, message string) TimerModel
func (TimerModel) Init ¶
func (m TimerModel) Init() tea.Cmd
func (TimerModel) TableRowDisplay ¶
func (m TimerModel) TableRowDisplay() []string
func (TimerModel) View ¶
func (m TimerModel) View() string
Click to show internal directories.
Click to hide internal directories.