Skip to content

Commit dd7c3d1

Browse files
authored
depguard: fix GOROOT detection (#3866)
1 parent 0adfd63 commit dd7c3d1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ require (
1212
github.com/BurntSushi/toml v1.3.0
1313
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24
1414
github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0
15-
github.com/OpenPeeDeeP/depguard/v2 v2.0.1
1615
github.com/alexkohler/nakedret/v2 v2.0.1
1716
github.com/alexkohler/prealloc v1.0.0
1817
github.com/alingse/asasalint v0.0.11
@@ -37,6 +36,7 @@ require (
3736
github.com/go-xmlfmt/xmlfmt v1.1.2
3837
github.com/gofrs/flock v0.8.1
3938
github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
39+
github.com/golangci/depguard/v2 v2.0.2-0.20230601235138-ed68d3771f48
4040
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
4141
github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe
4242
github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2

go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/depguard.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package golinters
22

33
import (
4-
"github.com/OpenPeeDeeP/depguard/v2"
4+
"github.com/golangci/depguard/v2"
55
"golang.org/x/tools/go/analysis"
66

77
"github.com/golangci/golangci-lint/pkg/config"

0 commit comments

Comments
 (0)