style: fix gofmt formatting in cmd and internal packages
This commit is contained in:
@@ -14,10 +14,10 @@ import (
|
||||
"sync/atomic"
|
||||
"syscall"
|
||||
|
||||
"gitea.dockr.co/kev/go-jdenticon/jdenticon"
|
||||
"github.com/mattn/go-isatty"
|
||||
"github.com/schollz/progressbar/v3"
|
||||
"github.com/spf13/cobra"
|
||||
"gitea.dockr.co/kev/go-jdenticon/jdenticon"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -11,9 +11,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"gitea.dockr.co/kev/go-jdenticon/jdenticon"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
"gitea.dockr.co/kev/go-jdenticon/jdenticon"
|
||||
)
|
||||
|
||||
// TestBatchCommand tests the batch command functionality
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"runtime"
|
||||
"strings"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"gitea.dockr.co/kev/go-jdenticon/jdenticon"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
// isRootPath checks if the given path is a filesystem root.
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"gitea.dockr.co/kev/go-jdenticon/jdenticon"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
"gitea.dockr.co/kev/go-jdenticon/jdenticon"
|
||||
)
|
||||
|
||||
// TestGenerateCommand tests the generate command functionality
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"gitea.dockr.co/kev/go-jdenticon/jdenticon"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
"gitea.dockr.co/kev/go-jdenticon/jdenticon"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"strconv"
|
||||
"sync/atomic"
|
||||
|
||||
lru "github.com/hashicorp/golang-lru/v2"
|
||||
"gitea.dockr.co/kev/go-jdenticon/internal/constants"
|
||||
lru "github.com/hashicorp/golang-lru/v2"
|
||||
)
|
||||
|
||||
// CacheMetrics holds cache performance metrics using atomic operations for efficiency
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
"strconv"
|
||||
"sync"
|
||||
|
||||
lru "github.com/hashicorp/golang-lru/v2"
|
||||
"gitea.dockr.co/kev/go-jdenticon/internal/constants"
|
||||
"gitea.dockr.co/kev/go-jdenticon/internal/util"
|
||||
lru "github.com/hashicorp/golang-lru/v2"
|
||||
"golang.org/x/sync/singleflight"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user