Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace io/ioutil usages with io and os #202

Merged
merged 1 commit into from Feb 10, 2023

Conversation

segevda
Copy link
Contributor

@segevda segevda commented Feb 10, 2023

package io/ioutil was deprecated as of go1.16 and its functions now directly call io and os functions. It is recommended to use these implementations in new code.

Copy link
Collaborator

@tklauser tklauser left a comment

Choose a reason for hiding this comment

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

Thanks

@tklauser tklauser enabled auto-merge (squash) February 10, 2023 10:25
Copy link
Collaborator

@odeke-em odeke-em left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @segevda!

ioutil was deprecated in go1.16 and its functions now directly call io
and os functions. It is recommended to use these implementations in new
code.
@tklauser tklauser merged commit a241038 into google:master Feb 10, 2023
@segevda segevda deleted the remove_ioutil branch February 10, 2023 16:37
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.

None yet

3 participants