You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go: fix golangci-lint issues across cmd/ and mantle/
I ran this through Anthropic/Claude Opus 4.6 and this is what it came up with:
```
Fix 311 golangci-lint issues across 91 files:
- errcheck (166 issues): Add explicit error discards for unchecked return
values from Close(), os.Setenv(), os.Remove(), os.RemoveAll(),
os.Unsetenv(), fmt.Fprintf/Fprintln(), w.Flush(), and
systemdjournal.Print(). For deferred Close() calls, wrap in anonymous
functions with _ = assignment. For non-deferred calls, add _ = prefix.
- ST1005 (142 issues): Lowercase capitalized error strings per Go
convention (e.g. "Cannot use" -> "cannot use", "Failed to" ->
"failed to"). Remove trailing punctuation (periods) and newlines
from error format strings.
- SA4011 (3 issues): Remove ineffective break statements in switch/
select cases in mantle/platform/qemu.go.
```
Written-By: <anthropic/claude-opus-4.6>
0 commit comments