Documentation
¶
Overview ¶
* Copyright (c) 2024 Samuel Dasilva * * This file is part of Boba Break. * * Boba Break is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Boba Break is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Boba Break. If not, see <https://www.gnu.org/licenses/>.
* Copyright (c) 2024 Samuel Dasilva * * This file is part of Boba Break. * * Boba Break is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Boba Break is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Boba Break. If not, see <https://www.gnu.org/licenses/>.
Index ¶
Constants ¶
const ( Focusing sessionState = iota Relaxing Paused )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BreakModel ¶
func InitialModel ¶
func InitialModel(workDuration time.Duration, breakDuration time.Duration) BreakModel
func (BreakModel) Init ¶
func (m BreakModel) Init() tea.Cmd
func (BreakModel) Start ¶
func (m BreakModel) Start()
func (BreakModel) TimerView ¶
func (m BreakModel) TimerView() string
func (BreakModel) View ¶
func (m BreakModel) View() string
type ScribblingMsg ¶
type ScribblingMsg struct{}
type Styles ¶
type SwitchBreakMsg ¶
type SwitchBreakMsg struct{}
type SwitchWorkMsg ¶
type SwitchWorkMsg struct{}