format: update import statements

- clean up and streamline import statements across multiple files

🤖
This commit is contained in:
Sebastian Mark 2024-10-27 21:34:53 +01:00
parent f26f12ef98
commit e8b463c59c
8 changed files with 16 additions and 10 deletions

View file

@ -2,8 +2,9 @@ package frontend
import (
"fmt"
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
"github.com/gen2brain/beeep"
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
)
func desktopNotifications(pomodoro GoTomato.ServerMessage) {

View file

@ -3,10 +3,12 @@ package frontend
import (
"atomicgo.dev/keyboard"
"atomicgo.dev/keyboard/keys"
ws "github.com/gorilla/websocket"
"git.smsvc.net/pomodoro/ChronoTomato/internal/websocket"
ChronoTomato "git.smsvc.net/pomodoro/ChronoTomato/pkg/models"
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
ws "github.com/gorilla/websocket"
)
func keyhandler(conn *ws.Conn, config ChronoTomato.Config, message *GoTomato.ServerMessage, quit chan bool) {

View file

@ -1,9 +1,10 @@
package frontend
import (
"github.com/gorilla/websocket"
ChronoTomato "git.smsvc.net/pomodoro/ChronoTomato/pkg/models"
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
"github.com/gorilla/websocket"
)
var message GoTomato.ServerMessage

View file

@ -2,9 +2,10 @@ package frontend
import (
"fmt"
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
"github.com/fatih/color"
"strings"
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
)
func terminalOutput(pomodoro GoTomato.ServerMessage) {