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

update deprecated functions ioutil.ReadFile and ioutil.WriteFile #437

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

mariajdab
Copy link
Contributor

Description

Some functions like ioutil.ReadFile and ioutil.WriteFile are deprecated on Go 1.16, so they need to be updated to os.ReadFile and os.WriteFile

How has this been tested?

Tested this code with the official test suite of the files changed

Doubts about files that ends with .go.bak

.go.bak Is possible change this kind of files like a any other go file? I made 2 update on two file that ends with .go.bak

@moul moul merged commit cc0c71b into gnolang:master Dec 21, 2022
@moul
Copy link
Member

moul commented Dec 21, 2022

Thank you.

No worries about .go.bak files; they'll eventually disappear soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

2 participants