mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 16:59:22 +02:00
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:
parent
614048ae9c
commit
1a5b8b606f
135 changed files with 341 additions and 340 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue