postman-code-generators
postman-code-generators copied to clipboard
golang : ioutil.ReadAll is deprecated from Go 1.16
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