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 deprecated calls to io/ioutil #1149

Closed
piotrpio opened this issue Dec 1, 2022 · 3 comments
Closed

Replace deprecated calls to io/ioutil #1149

piotrpio opened this issue Dec 1, 2022 · 3 comments
Labels
good first issue Good for newcomers

Comments

@piotrpio
Copy link
Collaborator

piotrpio commented Dec 1, 2022

io/ioutil has been deprecated since go 1.16. We should replace its usages across the codebase with counterparts from package os. Each deprecated function's documentation points to the up-to-date counterpart.

To find all deprecated references, run:

GOFLAGS="-mod=mod -modfile=go_test.mod" staticcheck ./... 
@piotrpio piotrpio added the good first issue Good for newcomers label Dec 1, 2022
@cesarvspr
Copy link
Contributor

Working on this:)

@cesarvspr
Copy link
Contributor

#1150

@cesarvspr
Copy link
Contributor

I think this issue can be closed :)

@piotrpio piotrpio closed this as completed Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants