core/lint: upgrade golangci-lint, replace interface{} with any (#5099)

* core/lint: upgrade golangci-lint, replace interface{} with any

* regen proto
This commit is contained in:
Caleb Doxsey 2024-05-02 14:33:52 -06:00 committed by GitHub
parent 614048ae9c
commit 1a5b8b606f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
135 changed files with 341 additions and 340 deletions

View file

@ -13,7 +13,7 @@ import (
)
func TestStringMatcher(t *testing.T) {
str := func(x interface{}) string {
str := func(x any) string {
bs := format.MustAst(x)
return strings.TrimSpace(string(bs))
}
@ -53,7 +53,7 @@ func TestStringMatcher(t *testing.T) {
}
func TestStringListMatcher(t *testing.T) {
str := func(x interface{}) string {
str := func(x any) string {
bs := format.MustAst(x)
return strings.TrimSpace(string(bs))
}