refactor: rename RunPomodoroTimer() to RunPomodoro()
🤖
This commit is contained in:
parent
337e5b0ed3
commit
f098c1f6bf
2 changed files with 3 additions and 3 deletions
|
@ -23,8 +23,8 @@ var pomodoroResumeChannel = make(chan bool, 1)
|
|||
|
||||
var mu sync.Mutex // to synchronize access to shared state
|
||||
|
||||
// RunPomodoroTimer iterates the Pomodoro work/break sessions.
|
||||
func RunPomodoroTimer(clients map[*websocket.Conn]*models.Client) {
|
||||
// RunPomodoro iterates the Pomodoro work/break sessions.
|
||||
func RunPomodoro(clients map[*websocket.Conn]*models.Client) {
|
||||
mu.Lock()
|
||||
pomodoroOngoing = true
|
||||
pomodoroPaused = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue