From 9149b1a78ed504ef93bab8b66a74b010c1f3458d Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Sun, 20 Oct 2024 22:18:50 +0200 Subject: [PATCH] refactor: rename GoTomatoTimerConfig to GoTomatoPomodoroConfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 --- internal/pomodoro/pomodoro.go | 2 +- pkg/models/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/pomodoro/pomodoro.go b/internal/pomodoro/pomodoro.go index e75f679..9b4ee5f 100644 --- a/internal/pomodoro/pomodoro.go +++ b/internal/pomodoro/pomodoro.go @@ -7,7 +7,7 @@ import ( "sync" ) -var PomodoroConfig = models.GoTomatoTimerConfig{ +var PomodoroConfig = models.GoTomatoPomodoroConfig{ Work: 15 * 60, ShortBreak: 5 * 60, LongBreak: 10 * 60, diff --git a/pkg/models/config.go b/pkg/models/config.go index 6bb63a1..af51d23 100644 --- a/pkg/models/config.go +++ b/pkg/models/config.go @@ -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