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

golang : ioutil.ReadAll is deprecated from Go 1.16 #719

Open
panapol-p opened this issue Aug 2, 2023 · 0 comments
Open

golang : ioutil.ReadAll is deprecated from Go 1.16 #719

panapol-p opened this issue Aug 2, 2023 · 0 comments

Comments

@panapol-p
Copy link

I saw deprecated function in go code generator

after Go 1.16 ioutil.ReadAll(...) is deprecated, we should use io.ReadAll(...) instead

Doc ref : https://pkg.go.dev/io/ioutil#ReadAll
Code : https://github.com/postmanlabs/postman-code-generators/blob/2411e41a03c59515fb78e363b0c93ba57f7d030b/codegens/golang/lib/index.js#L300C82-L300C96

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

No branches or pull requests

1 participant