-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Proposal: Upgrading examples from using io/util
(once 1.17 ships)
#343
Comments
io/util
to io/fs
io/util
Sounds good, given that the replacements work on the current and previous version (e.g. if they go in right now, on versions 1.15 and 1.14 at least). Feel free to send a PR |
I believe, this needs to wait version 1.17 then. |
just leaving here for archive purpose, from https://tip.golang.org/doc/go1.16
|
Go 1.17 will be released in August 2021. At that point we should be able to safely replace uses of At this time, gobyexample uses the following functions from
|
io/util
io/util
(once 1.17 ships)
Since we keep getting duplicate reports, I went ahead and created #374 which implements this - that PR will be updated and reviewed/landed once Go 1.17 ships in August 2021. |
Hey everyone,
As you may know, there are talks of deprecating
io/util
for go v1.16.More on this can be found:
golang/go#40025
go-critic/go-critic#1019
golang/go#42026
I think, upgrading the examples from using
io/util
would be beneficial for newcomers to learn the state-of-art practices.The text was updated successfully, but these errors were encountered: