为什么http的操作ioutil.ReadAll,后面都没有resp.Close,是不需要吗? 在一些go的书籍上都有强调ioutil.ReadAll读取后,记得调用defer close 很感谢
为什么http的操作ioutil.ReadAll,后面都没有resp.Close,是不需要吗?
在一些go的书籍上都有强调ioutil.ReadAll读取后,记得调用defer close
很感谢