Skip to content

Commit

Permalink
dev: use slices package from stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed Sep 12, 2024
1 parent b2d4c31 commit 12fe5a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/golinters/gocritic/gocritic.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"path/filepath"
"reflect"
"runtime"
"slices"
"sort"
"strings"
"sync"
Expand All @@ -16,7 +17,6 @@ import (
gocriticlinter "github.com/go-critic/go-critic/linter"
_ "github.com/quasilyte/go-ruleguard/dsl"
"golang.org/x/exp/maps"
"golang.org/x/exp/slices"
"golang.org/x/tools/go/analysis"

"github.com/golangci/golangci-lint/pkg/config"
Expand Down
2 changes: 1 addition & 1 deletion pkg/golinters/gocritic/gocritic_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package gocritic

import (
"slices"
"strings"
"testing"

Expand All @@ -9,7 +10,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"golang.org/x/exp/maps"
"golang.org/x/exp/slices"

"github.com/golangci/golangci-lint/pkg/config"
"github.com/golangci/golangci-lint/pkg/logutils"
Expand Down

0 comments on commit 12fe5a1

Please sign in to comment.