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