Skip to content

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

Merged
knqyf263 merged 1 commit intoaquasecurity:mainfrom
Juneezee:deprecate-ioutil
Sep 29, 2021
Merged

refactor: move from io/ioutil to io and os package#1245
knqyf263 merged 1 commit intoaquasecurity:mainfrom
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.

Special notes for reviewers

No breaking changes.

@CLAassistant
Copy link

CLAassistant commented Sep 20, 2021

CLA assistant check
All committers have signed the CLA.

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>
@knqyf263 knqyf263 merged commit bbcce9f into aquasecurity:main Sep 29, 2021
@knqyf263
Copy link
Collaborator

Thanks a lot!!

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.

3 participants