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 uses of the io/ioutil package #2748

Closed
roberthbailey opened this issue Sep 23, 2022 · 0 comments · Fixed by #2752
Closed

Replace uses of the io/ioutil package #2748

roberthbailey opened this issue Sep 23, 2022 · 0 comments · Fixed by #2752
Assignees
Labels
good first issue These are great first issues. If you are looking for a place to start, start here!
Milestone

Comments

@roberthbailey
Copy link
Member

Is your feature request related to a problem? Please describe.
From a code review comment on #2743:
SA1019: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details

Describe the solution you'd like
Remove uses of the io/ioutil package and remove the linter exception.

Describe alternatives you've considered
Leave the deprecated imports and the linter exception in place. The package should remain for the foreseeable future, so it may be ok....

@roberthbailey roberthbailey added the good first issue These are great first issues. If you are looking for a place to start, start here! label Sep 23, 2022
@mangalpalli mangalpalli added this to the 1.27.0 milestone Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue These are great first issues. If you are looking for a place to start, start here!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants