Skip to content
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

Replace ioutil.Discard with io.Discard #5603

Merged
merged 1 commit into from Aug 15, 2022
Merged

Conversation

zaneli
Copy link
Member

@zaneli zaneli commented Aug 13, 2022

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

"io/ioutil" has been deprecated since Go 1.16.
https://tip.golang.org/doc/go1.16#ioutil

User Case Description

N/A

@@ -1,6 +1,6 @@
module gorm.io/gorm

go 1.14
go 1.16
Copy link
Member Author

Choose a reason for hiding this comment

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

@huacnlee
Copy link
Collaborator

Keep one PR just do one thing.

@jinzhu jinzhu merged commit 8c3018b into go-gorm:master Aug 15, 2022
@zaneli zaneli deleted the replace-ioutil branch August 15, 2022 06:54
jinzhu pushed a commit that referenced this pull request Sep 22, 2022
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.

None yet

3 participants