style: fix gofmt formatting in cmd and internal packages
All checks were successful
CI / Test (push) Successful in 57s
CI / Lint (push) Successful in 14s
CI / Benchmark (push) Successful in 3m27s

This commit is contained in:
Kevin McIntyre
2026-02-10 14:00:27 -05:00
parent 4dfeb64364
commit 70b2d55613
7 changed files with 7 additions and 7 deletions

View File

@@ -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 (

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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 (

View File

@@ -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

View File

@@ -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"
)