chore: Go 1.26 modernization #7

Merged
Charon merged 4 commits from chore/go-1.26-modernization into main 2026-02-24 18:01:45 +00:00
Member

Modernize Go 1.23-era patterns to Go 1.26 idioms.

  • Replace interface{} with any (4 occurrences)
  • fmt.Errorf(static)errors.New (9 occurrences)
  • sort.Sliceslices.SortFunc (1 occurrence)
  • Manual min/max → max() builtin (3 occurrences)

All changes pass go build and go vet. No test files modified.

Modernize Go 1.23-era patterns to Go 1.26 idioms. - Replace `interface{}` with `any` (4 occurrences) - `fmt.Errorf(static)` → `errors.New` (9 occurrences) - `sort.Slice` → `slices.SortFunc` (1 occurrence) - Manual min/max → `max()` builtin (3 occurrences) All changes pass `go build` and `go vet`. No test files modified.
Charon added 4 commits 2026-02-24 16:43:00 +00:00
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
chore: use min()/max() builtins (Go 1.21+)
All checks were successful
Security Scan / security (pull_request) Successful in 23s
0941ba865f
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Charon merged commit 4dfbddf11f into main 2026-02-24 18:01:45 +00:00
Charon deleted branch chore/go-1.26-modernization 2026-02-24 18:01:45 +00:00
Sign in to join this conversation.
No description provided.