Closed panapol-p closed 2 months ago
I saw deprecated function in go code generator
after Go 1.16 ioutil.ReadAll(...) is deprecated, we should use io.ReadAll(...) instead
ioutil.ReadAll(...)
io.ReadAll(...)
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
Hi, @theonly1me could you pleaes help to review this change.
merged #721 , #762
@theonly1me and @VShingala Thank you for the review and the commit fixes.
I saw deprecated function in go code generator
after Go 1.16
ioutil.ReadAll(...)
is deprecated, we should useio.ReadAll(...)
insteadDoc 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