Skip to content

refactor: move from io/ioutil to io and os package#1746

Merged
lumtis merged 3 commits intoignite:developfrom
Juneezee:deprecate-ioutil
Oct 29, 2021
Merged

refactor: move from io/ioutil to io and os package#1746
lumtis merged 3 commits intoignite:developfrom
Juneezee:deprecate-ioutil

Conversation

@Juneezee
Copy link
Contributor

The io/ioutil package has been deprecated in Go 1.16 (See https://golang.org/doc/go1.16#ioutil). This PR replaces the existing io/ioutil functions with their new definitions in io and os packages.

Following the change in tendermint here: tendermint/tendermint#7175

The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
@lumtis
Copy link
Contributor

lumtis commented Oct 29, 2021

Thank you very much for your contribution @Juneezee
This is LGTM for me
I just started the integration tests

Copy link
Contributor

@ilgooz ilgooz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 👏

Copy link
Collaborator

@Pantani Pantani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👌🏽

@lumtis lumtis merged commit d59603e into ignite:develop Oct 29, 2021
Jchicode pushed a commit to Jchicode/cli that referenced this pull request Aug 9, 2023
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

Co-authored-by: Danilo Pantani <danpantani@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants