From 70b2d556132f1d38e3ba491e99b15012b772bc0e Mon Sep 17 00:00:00 2001 From: Kevin McIntyre Date: Tue, 10 Feb 2026 14:00:27 -0500 Subject: [PATCH] style: fix gofmt formatting in cmd and internal packages --- cmd/jdenticon/batch.go | 2 +- cmd/jdenticon/batch_test.go | 2 +- cmd/jdenticon/generate.go | 2 +- cmd/jdenticon/generate_test.go | 2 +- cmd/jdenticon/root.go | 2 +- internal/engine/cache.go | 2 +- internal/engine/generator.go | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cmd/jdenticon/batch.go b/cmd/jdenticon/batch.go index cf35f3d..2a8934c 100644 --- a/cmd/jdenticon/batch.go +++ b/cmd/jdenticon/batch.go @@ -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 ( diff --git a/cmd/jdenticon/batch_test.go b/cmd/jdenticon/batch_test.go index e478a98..502ade8 100644 --- a/cmd/jdenticon/batch_test.go +++ b/cmd/jdenticon/batch_test.go @@ -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 diff --git a/cmd/jdenticon/generate.go b/cmd/jdenticon/generate.go index 699cb59..2951942 100644 --- a/cmd/jdenticon/generate.go +++ b/cmd/jdenticon/generate.go @@ -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. diff --git a/cmd/jdenticon/generate_test.go b/cmd/jdenticon/generate_test.go index 55b8c76..a1a4038 100644 --- a/cmd/jdenticon/generate_test.go +++ b/cmd/jdenticon/generate_test.go @@ -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 diff --git a/cmd/jdenticon/root.go b/cmd/jdenticon/root.go index ffdce30..36a8e6c 100644 --- a/cmd/jdenticon/root.go +++ b/cmd/jdenticon/root.go @@ -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 ( diff --git a/internal/engine/cache.go b/internal/engine/cache.go index a372c73..282fbb5 100644 --- a/internal/engine/cache.go +++ b/internal/engine/cache.go @@ -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 diff --git a/internal/engine/generator.go b/internal/engine/generator.go index 8fdb26d..7fc17c7 100644 --- a/internal/engine/generator.go +++ b/internal/engine/generator.go @@ -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" )