refactor: rename GoTomatoTimerConfig to GoTomatoPomodoroConfig

🤖
This commit is contained in:
Sebastian Mark 2024-10-20 22:18:50 +02:00
parent f098c1f6bf
commit 9149b1a78e
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ import (
"sync"
)
var PomodoroConfig = models.GoTomatoTimerConfig{
var PomodoroConfig = models.GoTomatoPomodoroConfig{
Work: 15 * 60,
ShortBreak: 5 * 60,
LongBreak: 10 * 60,

View file

@ -1,6 +1,6 @@
package models
type GoTomatoTimerConfig struct {
type GoTomatoPomodoroConfig struct {
Work int `json:"work"` // Length of work sessions in seconds
ShortBreak int `json:"shortBreak"` // Length of short break in seconds
LongBreak int `json:"longBreak"` // Length if ling break in seconds