Sebastian Mark
31179d4af4
- change mode from "Work" to "Focus" in server messages
- modify pomodoro configuration to use "Focus" instead of "Work"
- adjust default settings to reflect new terminology
- ensure all references to work duration are updated to focus duration
- update variable names in HTML and JavaScript for clarity
🤖
17 lines
408 B
Go
17 lines
408 B
Go
package shared
|
|
|
|
import "git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
|
|
|
// The default server config if nothing else is set
|
|
var DefaultServerConfig = models.ServerConfig{
|
|
ListenAddress: "0.0.0.0",
|
|
ListenPort: 8080,
|
|
}
|
|
|
|
// The default pomodoro config if nothing else is set
|
|
var DefaultPomodoroConfig = models.PomodoroConfig{
|
|
Focus: 25 * 60,
|
|
ShortBreak: 5 * 60,
|
|
LongBreak: 15 * 60,
|
|
Sessions: 4,
|
|
}
|