mirror of
https://github.com/eeeXun/GTT.git
synced 2025-05-16 07:40:44 -07:00
style(format): run goimports
This commit is contained in:
parent
7d498399e1
commit
94ec8498ac
@ -4,12 +4,13 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/hajimehoshi/go-mp3"
|
|
||||||
"github.com/hajimehoshi/oto/v2"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/hajimehoshi/go-mp3"
|
||||||
|
"github.com/hajimehoshi/oto/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
5
main.go
5
main.go
@ -1,11 +1,12 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/rivo/tview"
|
|
||||||
"github.com/spf13/viper"
|
|
||||||
"gtt/internal/color"
|
"gtt/internal/color"
|
||||||
"gtt/internal/translate"
|
"gtt/internal/translate"
|
||||||
"gtt/internal/ui"
|
"gtt/internal/ui"
|
||||||
|
|
||||||
|
"github.com/rivo/tview"
|
||||||
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
5
ui.go
5
ui.go
@ -2,11 +2,12 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/gdamore/tcell/v2"
|
|
||||||
"github.com/rivo/tview"
|
|
||||||
"gtt/internal/color"
|
"gtt/internal/color"
|
||||||
"gtt/internal/translate"
|
"gtt/internal/translate"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
|
"github.com/gdamore/tcell/v2"
|
||||||
|
"github.com/rivo/tview"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user