Skip to content

Commit

Permalink
style: Reorder imports for better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
kooksee committed Jan 4, 2025
1 parent e7e653f commit b539119
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bootstrap/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package bootstrap

import (
_ "embed"
"github.com/pubgo/fastcommit/configs"

"github.com/adrg/xdg"
"github.com/pubgo/fastcommit/configs"
"github.com/pubgo/fastcommit/utils"
"github.com/pubgo/funk/assert"
)
Expand Down
7 changes: 4 additions & 3 deletions cmds/fastcommit/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ package fastcommit
import (
"context"
"fmt"
"log/slog"
"os"
"sort"

tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/x/term"
"github.com/pubgo/dix"
Expand All @@ -16,9 +20,6 @@ import (
"github.com/pubgo/funk/version"
"github.com/sashabaranov/go-openai"
"github.com/urfave/cli/v3"
"log/slog"
"os"
"sort"
)

type Params struct {
Expand Down
1 change: 1 addition & 0 deletions cmds/fastcommit/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package fastcommit

import (
"fmt"

"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
semver "github.com/hashicorp/go-version"
Expand Down
3 changes: 2 additions & 1 deletion cmds/tagcmd/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package tagcmd

import (
"fmt"
"log/slog"

"github.com/charmbracelet/bubbles/spinner"
"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
semver "github.com/hashicorp/go-version"
"log/slog"
)

type model struct {
Expand Down

0 comments on commit b539119

Please sign in to comment.