Skip to content

Commit

Permalink
🎨 go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
makew0rld committed Apr 7, 2021
1 parent 045848b commit f622a96
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import (
"runtime"
"strings"

"code.rocketnine.space/tslocum/cview"
"github.com/gdamore/tcell/v2"
"github.com/makeworld-the-better-one/amfora/cache"
homedir "github.com/mitchellh/go-homedir"
"github.com/rkoesters/xdg/basedir"
"github.com/rkoesters/xdg/userdirs"
"github.com/spf13/viper"
"code.rocketnine.space/tslocum/cview"
)

var amforaAppData string // Where amfora files are stored on Windows - cached here
Expand Down
2 changes: 1 addition & 1 deletion display/bookmarks.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package display
import (
"fmt"

"code.rocketnine.space/tslocum/cview"
"github.com/gdamore/tcell/v2"
"github.com/makeworld-the-better-one/amfora/bookmarks"
"github.com/makeworld-the-better-one/amfora/config"
"github.com/makeworld-the-better-one/amfora/renderer"
"github.com/makeworld-the-better-one/amfora/structs"
"github.com/spf13/viper"
"code.rocketnine.space/tslocum/cview"
)

// For adding and removing bookmarks, basically a clone of the input modal.
Expand Down
2 changes: 1 addition & 1 deletion display/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import (
"strings"
"sync"

"code.rocketnine.space/tslocum/cview"
"github.com/gdamore/tcell/v2"
"github.com/makeworld-the-better-one/amfora/cache"
"github.com/makeworld-the-better-one/amfora/config"
"github.com/makeworld-the-better-one/amfora/renderer"
"github.com/makeworld-the-better-one/amfora/structs"
"github.com/makeworld-the-better-one/go-gemini"
"github.com/spf13/viper"
"code.rocketnine.space/tslocum/cview"
)

var tabs []*tab // Slice of all the current browser tabs
Expand Down
2 changes: 1 addition & 1 deletion display/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ import (
"strings"
"time"

"code.rocketnine.space/tslocum/cview"
"github.com/gdamore/tcell/v2"
"github.com/makeworld-the-better-one/amfora/config"
"github.com/makeworld-the-better-one/amfora/structs"
"github.com/makeworld-the-better-one/amfora/sysopen"
"github.com/makeworld-the-better-one/go-gemini"
"github.com/schollz/progressbar/v3"
"github.com/spf13/viper"
"code.rocketnine.space/tslocum/cview"
)

// For choosing between download and the portal - copy of YesNo basically
Expand Down
2 changes: 1 addition & 1 deletion display/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"strings"
"text/tabwriter"

"code.rocketnine.space/tslocum/cview"
"github.com/gdamore/tcell/v2"
"github.com/makeworld-the-better-one/amfora/config"
"code.rocketnine.space/tslocum/cview"
)

var helpCells = strings.TrimSpace(
Expand Down
2 changes: 1 addition & 1 deletion display/modals.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"strings"
"time"

"code.rocketnine.space/tslocum/cview"
humanize "github.com/dustin/go-humanize"
"github.com/gdamore/tcell/v2"
"github.com/makeworld-the-better-one/amfora/config"
"github.com/spf13/viper"
"code.rocketnine.space/tslocum/cview"
)

// This file contains code for the popups / modals used in the display.
Expand Down
2 changes: 1 addition & 1 deletion display/tab.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"strconv"
"strings"

"code.rocketnine.space/tslocum/cview"
"github.com/gdamore/tcell/v2"
"github.com/makeworld-the-better-one/amfora/config"
"github.com/makeworld-the-better-one/amfora/structs"
"code.rocketnine.space/tslocum/cview"
)

type tabMode int
Expand Down
2 changes: 1 addition & 1 deletion display/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"net/url"
"strings"

"code.rocketnine.space/tslocum/cview"
"github.com/makeworld-the-better-one/go-gemini"
"github.com/spf13/viper"
"code.rocketnine.space/tslocum/cview"
"golang.org/x/text/unicode/norm"
)

Expand Down
2 changes: 1 addition & 1 deletion renderer/renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"strconv"
"strings"

"code.rocketnine.space/tslocum/cview"
"github.com/makeworld-the-better-one/amfora/config"
"github.com/spf13/viper"
"code.rocketnine.space/tslocum/cview"
)

// Regex for identifying ANSI color codes
Expand Down

0 comments on commit f622a96

Please sign in to comment.