refactor: rename GoTomatoTimerConfig to GoTomatoPomodoroConfig
🤖
This commit is contained in:
parent
f098c1f6bf
commit
9149b1a78e
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
"sync"
|
||||
)
|
||||
|
||||
var PomodoroConfig = models.GoTomatoTimerConfig{
|
||||
var PomodoroConfig = models.GoTomatoPomodoroConfig{
|
||||
Work: 15 * 60,
|
||||
ShortBreak: 5 * 60,
|
||||
LongBreak: 10 * 60,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue