Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36793ff

Browse files
committed
chore: update dependencies
1 parent6fa025a commit36793ff

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

‎go.mod‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@ module github.com/golangci/example-linter
22

33
// All versions here need to be the same as in golangci-lint/mod.go if present
44

5-
go1.19
5+
go1.21
66

77
require (
88
github.com/stretchr/testifyv1.8.4
9-
golang.org/x/toolsv0.9.3
9+
golang.org/x/toolsv0.17.0
1010
)
1111

1212
require (
1313
github.com/davecgh/go-spewv1.1.1// indirect
1414
github.com/pmezard/go-difflibv1.0.0// indirect
15-
golang.org/x/modv0.10.0// indirect
16-
golang.org/x/sysv0.8.0// indirect
15+
golang.org/x/modv0.14.0// indirect
1716
gopkg.in/yaml.v3v3.0.1// indirect
1817
)

‎go.sum‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
44
github.com/pmezard/go-difflibv1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
55
github.com/stretchr/testifyv1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
66
github.com/stretchr/testifyv1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
7-
golang.org/x/modv0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=
8-
golang.org/x/modv0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
9-
golang.org/x/syncv0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
10-
golang.org/x/sysv0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
11-
golang.org/x/sysv0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
12-
golang.org/x/toolsv0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM=
13-
golang.org/x/toolsv0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc=
7+
golang.org/x/modv0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0=
8+
golang.org/x/modv0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
9+
golang.org/x/syncv0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=
10+
golang.org/x/syncv0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
11+
golang.org/x/toolsv0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc=
12+
golang.org/x/toolsv0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps=
1413
gopkg.in/check.v1v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
1514
gopkg.in/check.v1v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
1615
gopkg.in/yaml.v3v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

‎plugin/example.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func New(conf any) ([]*analysis.Analyzer, error) {
1414
fmt.Printf("My configuration (%[1]T): %#[1]v\n",conf)
1515

1616
// The configuration type will be map[string]any or []interface, it depends on your configuration.
17-
// You can use https://github.com/mitchellh/mapstructure to convert map to struct.
17+
// You can use https://github.com/go-viper/mapstructure to convert map to struct.
1818

1919
return []*analysis.Analyzer{linters.TodoAnalyzer},nil
2020
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp