-
Notifications
You must be signed in to change notification settings - Fork 88
all: replace io/ioutil with io and os package #17
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
Conversation
Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
This PR (HEAD: a66951f) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mod/+/462278 to see it. Tip: You can toggle comments from me using the |
Message from Ian Lance Taylor: Patch Set 1: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/462278. |
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/462278. |
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be Please don’t reply on this GitHub thread. Visit golang.org/cl/462278. |
Message from Gopher Robot: Patch Set 1: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/462278. |
Message from Ian Lance Taylor: Patch Set 1: Code-Review+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/462278. |
Message from Bryan Mills: Patch Set 1: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/462278. |
This PR (HEAD: 251a5e1) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mod/+/462278 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: e5348f8) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mod/+/462278 to see it. Tip: You can toggle comments from me using the |
Because os.ReadDir returns []DirEntry.
This PR (HEAD: 28cdff9) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mod/+/462278 to see it. Tip: You can toggle comments from me using the |
There are unresolved comments on the Gerrit review. If this is ready for another code review, please mark the Gerrit comments as resolved. Thanks. |
@bcmills Sorry, but Gerrit tells me that all comments are resolved. Am I missing something? |
You have 4 unpublished drafts. (Use the |
This PR replaces the deprecated in Go 1.17 `io/ioutil` package with `io` and `os` packages. Changes are the same as in [CL 430799](https://go.dev/cl/430799) but with test fixes. Change-Id: I69095e5d62b10879fd273305876fd7498803705d GitHub-Last-Rev: 28cdff9 GitHub-Pull-Request: #17 Reviewed-on: https://go-review.googlesource.com/c/mod/+/462278 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com>
Message from Oleksandr Redko: Patch Set 5: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/462278. |
This PR is being closed because golang.org/cl/462278 has been merged. |
This PR replaces the deprecated in Go 1.17 `io/ioutil` package with `io` and `os` packages. Changes are the same as in [CL 430799](https://go.dev/cl/430799) but with test fixes. Change-Id: I69095e5d62b10879fd273305876fd7498803705d GitHub-Last-Rev: 28cdff9b8c971556da0006d955d60551930cebde GitHub-Pull-Request: golang/mod#17 Reviewed-on: https://go-review.googlesource.com/c/mod/+/462278 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com>
This PR replaces the deprecated in Go 1.17
io/ioutil
package withio
andos
packages.Changes are the same as in CL 430799 but with test fixes.