-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
io/ioutil: add deprecation markers to ioutil #51961
io/ioutil: add deprecation markers to ioutil #51961
Conversation
These were deprecated in `go` `1.17`, so marked them as officially `Deprecated: `. Fix #51927
This PR (HEAD: 3c3603f) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/395918 to see it. Tip: You can toggle comments from me using the |
Message from Ian Lance Taylor: Patch Set 1: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/395918. |
Message from Emmanuel Odeke: Patch Set 2: Run-TryBot+1 (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/395918. |
Message from Gopher Robot: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/395918. |
Message from Gopher Robot: Patch Set 2: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/395918. |
Message from Emmanuel Odeke: Patch Set 3: Run-TryBot+1 Code-Review+2 Trust+1 (6 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/395918. |
Message from Gopher Robot: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/395918. |
Message from Gopher Robot: Patch Set 3: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/395918. |
This PR is being closed because golang.org/cl/395918 has been merged. |
All the code in ioutil just forwards functionality to code in either the io or os packages, per issue 42026. This change adds the "Deprecated" marker to all the functions in this package. For #42026 Fixes #51927 Change-Id: Ia807bc5c0edb06cc80ec7e35917dcfe2ad50f0ea GitHub-Last-Rev: 3c3603f GitHub-Pull-Request: #51961 Reviewed-on: https://go-review.googlesource.com/c/go/+/395918 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Trust: Emmanuel Odeke <emmanuel@orijtech.com> Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
`ioutil` has been deprecated by golang. All the code in `ioutil` just forwards functionality to code in either the `io` or `os` packages. See golang/go#51961 for more info. Signed-off-by: Jeff Widman <jeff@jeffwidman.com>
All the code in ioutil just forwards functionality to code
in either the io or os packages, per issue 42026.
This change adds the "Deprecated" marker to all the
functions in this package.
For #42026
Fixes #51927