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

Deprecation of package ioutil in Go 1.16 #207

Closed
abrar71 opened this issue Aug 13, 2022 · 4 comments
Closed

Deprecation of package ioutil in Go 1.16 #207

abrar71 opened this issue Aug 13, 2022 · 4 comments

Comments

@abrar71
Copy link
Contributor

abrar71 commented Aug 13, 2022

the ioutil functions need to be changed to io packages

"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. (SA1019)

@q191201771
Copy link
Owner

Yeah, nice idea.
But if we switch to new functionality, we must update our min dependence of Go from 1.14 to 1.16.
I'm gonna add this issue to the TODO list and do this later.

Any more suggestions, or comparisons?

@abrar71
Copy link
Contributor Author

abrar71 commented Aug 15, 2022

You are right, this issue should be added to TODO list for now. Thank you!

@q191201771 q191201771 mentioned this issue Aug 17, 2022
33 tasks
@q191201771
Copy link
Owner

Move to #37

@q191201771
Copy link
Owner

Done by #264
We've upgraded to Go 1.16 since we needed to use the Go embed feature by feb6ed9

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

No branches or pull requests

2 participants