Sebastian Mark
5bf9753dce
- reset shared.Message fields to current values in `ResetPomodoro()` function - remove `ResetToDefault()`
16 lines
331 B
Go
16 lines
331 B
Go
package shared
|
|
|
|
import (
|
|
"git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
|
)
|
|
|
|
var Message = models.ServerMessage{
|
|
Mode: "Idle",
|
|
PomodoroSettings: DefaultPomodoroConfig,
|
|
Session: 0,
|
|
TimeLeft: DefaultPomodoroConfig.Work,
|
|
Ongoing: false,
|
|
Paused: false,
|
|
}
|
|
|
|
var PomodoroPassword string
|