Skip to content

stdlib: replace remaining hand-rolled stdlib reimplementations - #386

Merged
anish749 merged 4 commits into
mainfrom
stdlib-remaining-fixes
Jul 11, 2026
Merged

stdlib: replace remaining hand-rolled stdlib reimplementations#386
anish749 merged 4 commits into
mainfrom
stdlib-remaining-fixes

Conversation

@anish749

Copy link
Copy Markdown
Owner

Summary

Test plan

  • go build ./...
  • go vet ./...
  • go test ./...
  • gofmt -l clean on all touched files

🤖 Generated with Claude Code

anish749 and others added 4 commits July 11, 2026 14:57
Covers everything left after the earlier slices/strings PR: builtin
min/max clamps, cmp.Or fallback chains, strconv conversions,
encoding/json, net/url, crypto/rand.Text, backoff-based retry, and one
errors.Join fix for a lossy multi-error return. Behavior-preserving;
findings were adversarially verified (equivalence + validity) before
applying.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
stripAnsi was a pure one-line pass-through added by the prior commit;
call ansi.Strip directly at all 21 call sites instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@anish749
anish749 merged commit 7f41fcf into main Jul 11, 2026
1 check passed
@anish749
anish749 deleted the stdlib-remaining-fixes branch July 11, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant