format: update import statements
- clean up and streamline import statements across multiple files
🤖
This commit is contained in:
parent
f26f12ef98
commit
e8b463c59c
8 changed files with 16 additions and 10 deletions
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
package helper
|
||||
|
||||
import (
|
||||
ChronoTomato "git.smsvc.net/pomodoro/ChronoTomato/pkg/models"
|
||||
"github.com/charmbracelet/log"
|
||||
"gopkg.in/yaml.v3"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
ChronoTomato "git.smsvc.net/pomodoro/ChronoTomato/pkg/models"
|
||||
)
|
||||
|
||||
func ParseConfig(filename string) ChronoTomato.Config {
|
||||
|
|
|
@ -3,9 +3,10 @@ package websocket
|
|||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
||||
"github.com/charmbracelet/log"
|
||||
"github.com/gorilla/websocket"
|
||||
|
||||
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
||||
)
|
||||
|
||||
var Done = make(chan struct{})
|
||||
|
|
|
@ -2,9 +2,10 @@ package websocket
|
|||
|
||||
import (
|
||||
"encoding/json"
|
||||
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
||||
"github.com/charmbracelet/log"
|
||||
"github.com/gorilla/websocket"
|
||||
|
||||
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
||||
)
|
||||
|
||||
func sendClientCommand(conn *websocket.Conn, msg GoTomato.ClientCommand) {
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
package models
|
||||
|
||||
import (
|
||||
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
||||
)
|
||||
import GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
||||
|
||||
type Config struct {
|
||||
URL string `yaml:"url"`
|
||||
|
|
Loading…
Reference in a new issue