Skip to content

Replace deprecated io/ioutil usage#73

Merged
campoy merged 1 commit intomasterfrom
remove-deprecated-ioutil
Feb 13, 2026
Merged

Replace deprecated io/ioutil usage#73
campoy merged 1 commit intomasterfrom
remove-deprecated-ioutil

Conversation

@campoy
Copy link
Owner

@campoy campoy commented Feb 12, 2026

Summary

  • Replaces all io/ioutil usage with modern equivalents (io.ReadAll, os.ReadFile, io.NopCloser)
  • io/ioutil has been deprecated since Go 1.16
  • Affects main.go, embedmd/content.go, main_test.go, and integration_test.go

Test plan

  • go build ./... passes
  • All non-pre-existing-broken tests pass

🤖 Generated with Claude Code

io/ioutil has been deprecated since Go 1.16. This migrates all
usages to their modern replacements:
- ioutil.ReadAll -> io.ReadAll
- ioutil.ReadFile -> os.ReadFile
- ioutil.NopCloser -> io.NopCloser

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@campoy campoy closed this Feb 12, 2026
@campoy campoy reopened this Feb 12, 2026
@campoy campoy closed this Feb 13, 2026
@campoy campoy reopened this Feb 13, 2026
@campoy campoy merged commit 00920b4 into master Feb 13, 2026
3 of 6 checks passed
@campoy campoy deleted the remove-deprecated-ioutil branch February 13, 2026 16:56
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