v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-15 23:30:27 -07:00

style(format): run goimports

This commit is contained in:
eeeXun 2023-01-09 19:17:01 +00:00 committed by github-actions[bot]
parent 7d498399e1
commit 94ec8498ac
3 changed files with 9 additions and 6 deletions

View File

@ -4,12 +4,13 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/hajimehoshi/go-mp3"
"github.com/hajimehoshi/oto/v2"
"io/ioutil"
"net/http"
"net/url"
"time"
"github.com/hajimehoshi/go-mp3"
"github.com/hajimehoshi/oto/v2"
)
const (

View File

@ -1,11 +1,12 @@
package main
import (
"github.com/rivo/tview"
"github.com/spf13/viper"
"gtt/internal/color"
"gtt/internal/translate"
"gtt/internal/ui"
"github.com/rivo/tview"
"github.com/spf13/viper"
)
var (

5
ui.go
View File

@ -2,11 +2,12 @@ package main
import (
"fmt"
"github.com/gdamore/tcell/v2"
"github.com/rivo/tview"
"gtt/internal/color"
"gtt/internal/translate"
"strconv"
"github.com/gdamore/tcell/v2"
"github.com/rivo/tview"
)
const (