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
{{ message }}
Repository navigation
Commit 83ced25
Browse filesBrowse the repository at this point in the historyBrowse files
Modernize Go code per use-modern-go guidelines (#61)
Apply the gopls modernize analyzer (-fix -test) across all workspace
modules, then a hand-reviewed sweep for guideline idioms the analyzer
misses. All rewrites are mechanical and behavior-preserving; no public
API changes.
Analyzer: errors.AsType, range-over-int, slices.Contains/ContainsFunc/
Backward, atomic.Int32, reflect.TypeFor, new(bool) inline.
Manual: sync.WaitGroup.Go, min/max clamp in BackoffDelay, strings.
CutPrefix in decodeThreadID, strings.FieldsFuncSeq, json omitzero on
bool/int wire fields.
Validated: mise run vet + GOFLAGS=-race mise run test across all
modules; burst/admission suites stressed with -race -count=5.
0 commit comments