Enable modernize linter for golangci-lint (#8996)

Didn't know this was a thing now. That certainly helps! Also some
follow-up fixes from the previous modernize PR.

---------

Signed-off-by: Anders Eknert <anders.eknert@apple.com>
Signed-off-by: Charlie Egan <charlie_egan@apple.com>
Co-authored-by: Charlie Egan <charlie_egan@apple.com>
This commit is contained in:
Anders Eknert
2026-08-10 18:05:31 +02:00
committed by GitHub
parent e5b3e1cfc1
commit 413903e8cc
13 changed files with 57 additions and 43 deletions
-1
View File
@@ -1,5 +1,4 @@
//go:build !darwin
// +build !darwin
package test