From 669788034f503596a05b584eab3f39d028ca7753 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Wed, 28 Jun 2023 21:49:44 -0700 Subject: [PATCH] Run formatter --- main.go | 1 - metrics.go | 1 - music.go | 3 +-- socket.go | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/main.go b/main.go index 6afe2ca..1aba050 100644 --- a/main.go +++ b/main.go @@ -27,7 +27,6 @@ import ( "os/signal" "strconv" "sync" - "syscall" "time" diff --git a/metrics.go b/metrics.go index 6165a31..fca555d 100644 --- a/metrics.go +++ b/metrics.go @@ -4,7 +4,6 @@ import ( "context" "database/sql" "path/filepath" - "time" "go.elara.ws/infinitime" diff --git a/music.go b/music.go index 3d3e9de..0351b8d 100644 --- a/music.go +++ b/music.go @@ -20,7 +20,6 @@ package main import ( "context" - "go.elara.ws/infinitime" "go.elara.ws/itd/mpris" @@ -55,7 +54,7 @@ func initMusicCtrl(ctx context.Context, wg WaitGroup, dev *infinitime.Device) er if err != nil { return err } - + wg.Add(1) go func() { defer wg.Done("musicCtrl") diff --git a/socket.go b/socket.go index 7afd97f..cfd6b6b 100644 --- a/socket.go +++ b/socket.go @@ -25,7 +25,6 @@ import ( "net" "os" "path/filepath" - "time" "go.elara.ws/drpc/muxserver"