Skip to content

Update calls to deprecated methods#389

Merged
dsnet merged 1 commit intogoogle:masterfrom
willbeason:update-deprecated-methods
Mar 10, 2026
Merged

Update calls to deprecated methods#389
dsnet merged 1 commit intogoogle:masterfrom
willbeason:update-deprecated-methods

Conversation

@willbeason
Copy link
Contributor

These functions are deprecated, and this change updates them to their new versions:

  1. ioutil.ReadFile -> os.ReadFile
  2. ioutil.WriteFile -> os.WriteFile
  3. reflect.PtrTo -> reflect.PointerTo

These functions are deprecated, and this change updates them to their new
versions:
1. ioutil.ReadFile -> os.ReadFile
2. ioutil.WriteFile -> os.WriteFile
3. reflect.PtrTo -> reflect.PointerTo
Copy link
Collaborator

@dsnet dsnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

\cc @neild for merging.

@dsnet
Copy link
Collaborator

dsnet commented Mar 10, 2026

Huh, I have squash privileges!

@dsnet dsnet merged commit 34c9473 into google:master Mar 10, 2026
4 checks passed
@willbeason willbeason deleted the update-deprecated-methods branch March 10, 2026 22:02
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.

2 participants