Skip to content

Commit

Permalink
chore: import sorting
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Lanser <[email protected]>
  • Loading branch information
Tommylans committed Mar 6, 2024
1 parent 8e125df commit e80c9ef
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion discord/discord.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package discord

import (
"errors"
"time"

"github.com/hugolgst/rich-go/client"
"github.com/tommylans/goradio/channels"
"time"
)

var (
Expand Down
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package main

import (
"flag"
"log"

"github.com/tommylans/goradio/discord"
"github.com/tommylans/goradio/radioplayer"
"github.com/tommylans/goradio/ui"
"log"
)

var (
Expand Down
3 changes: 2 additions & 1 deletion ui/keybindings.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package ui

import (
"github.com/gdamore/tcell/v2"
"log"
"os"

"github.com/gdamore/tcell/v2"
)

func (p *PlayerUi) playerKeyBindHandler() func(event *tcell.EventKey) *tcell.EventKey {
Expand Down
3 changes: 2 additions & 1 deletion ui/player.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package ui

import (
"log"

"github.com/gdamore/tcell/v2"
"github.com/rivo/tview"
"github.com/tommylans/goradio/channels"
"github.com/tommylans/goradio/discord"
"log"
)

func (p *PlayerUi) initTracksTable() {
Expand Down
3 changes: 2 additions & 1 deletion ui/tui.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package ui

import (
"sync"

"github.com/gdamore/tcell/v2"
"github.com/rivo/tview"
"github.com/tommylans/goradio/channels"
"github.com/tommylans/goradio/radioplayer"
"sync"
)

type PlayerUi struct {
Expand Down

0 comments on commit e80c9ef

Please sign in to comment.