chore: Go 1.26 modernization #1

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

Modernize Go 1.23-era patterns to Go 1.26 idioms.

  • fmt.Errorf(static)errors.New (5 occurrences)
  • sort.Sliceslices.SortFunc (1 occurrence)
  • Sorted map keys → slices.Sorted(maps.Keys()) (1 occurrence)

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

Modernize Go 1.23-era patterns to Go 1.26 idioms. - `fmt.Errorf(static)` → `errors.New` (5 occurrences) - `sort.Slice` → `slices.SortFunc` (1 occurrence) - Sorted map keys → `slices.Sorted(maps.Keys())` (1 occurrence) All changes pass `go build` and `go vet`. No test files modified.
Charon added 3 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>
chore: use slices.Sorted(maps.Keys()) for ordered iteration
All checks were successful
Security Scan / security (pull_request) Successful in 11s
Test / test (pull_request) Successful in 1m0s
f4885d3e5e
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Charon merged commit d1166fc456 into main 2026-02-24 18:01:48 +00:00
Charon deleted branch chore/go-1.26-modernization 2026-02-24 18:01:48 +00:00
Sign in to join this conversation.
No description provided.