postman-code-generators icon indicating copy to clipboard operation
postman-code-generators copied to clipboard

golang : ioutil.ReadAll is deprecated from Go 1.16

Open panapol-p opened this issue 1 year ago • 0 comments

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

panapol-p avatar Aug 02 '23 07:08 panapol-p