Skip to content

offtopic #4356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ Follow the news and releases on [Mastodon](https://fosstodon.org/@golangcilint)

There is the most valuable changes log:


### v1.56.1

1. misc.
* 🎉 go1.22 support

### v1.56.0

1. new linters
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/golangci/golangci-lint

go 1.21
go 1.22

require (
4d63.com/gocheckcompilerdirectives v1.2.1
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/sloglint.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build go1.21
//go:build go1.22

//golangcitest:args -Esloglint
package testdata
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/sloglint_args_on_sep_lines.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build go1.21
//go:build go1.22

//golangcitest:args -Esloglint
//golangcitest:config_path testdata/configs/sloglint_args_on_sep_lines.yml
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/sloglint_attr_only.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build go1.21
//go:build go1.22

//golangcitest:args -Esloglint
//golangcitest:config_path testdata/configs/sloglint_attr_only.yml
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/sloglint_context_only.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build go1.21
//go:build go1.22

//golangcitest:args -Esloglint
//golangcitest:config_path testdata/configs/sloglint_context_only.yml
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/sloglint_key_naming_case.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build go1.21
//go:build go1.22

//golangcitest:args -Esloglint
//golangcitest:config_path testdata/configs/sloglint_key_naming_case.yml
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/sloglint_kv_only.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build go1.21
//go:build go1.22

//golangcitest:args -Esloglint
//golangcitest:config_path testdata/configs/sloglint_kv_only.yml
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/sloglint_no_raw_keys.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build go1.21
//go:build go1.22

//golangcitest:args -Esloglint
//golangcitest:config_path testdata/configs/sloglint_no_raw_keys.yml
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/sloglint_static_msg.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build go1.21
//go:build go1.22

//golangcitest:args -Esloglint
//golangcitest:config_path testdata/configs/sloglint_static_msg.yml
Expand Down