Skip to content

Conversation

oswaldom-code
Copy link

@oswaldom-code oswaldom-code commented Sep 21, 2025

Go deprecated the ioutil package in version 1.16. This PR replaces ioutil with "os" and "io" across the codebase. No functional changes were introduced.

  • Replaced imports of "io/ioutil" with "os" and "io"
  • Updated all calls to ioutil.ReadFile -> os.ReadFile
  • Updated all calls to ioutil.ReadAll --> io.ReadAll

All unit tests pass with go test -test.short ./....

  This commit removes the dependency on ioutil by replacing all usages of ioutil.ReadFile
  with the recommended os.ReadFile function.

  No functional changes are introduced
  This commit removes the dependency on ioutil by replacing all usages of ioutil.ReadAll
  with the recommended io.ReadAll function.

  No functional changes are introduced
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