#每日精进#2020年7月24日

【Go函数理解】
https://ask.zkbhj.com/?/article/352

理解变量的深拷贝和浅拷贝】
https://ask.zkbhj.com/?/article/354
 
【Go HTTPClient包坑】
// An error is returned if there were too many redirects or if there 
// was an HTTP protocol error. A non-2xx response doesn't cause an 
// error. Any returned error will be of type *url.Error. The url.Error 
// value's Timeout method will report true if request timed out or was 
// canceled.
非200状态码并不会抛出Error,需要手动显示处理

QQ截图20200724175822.jpg

 

0 个评论

要回复文章请先登录注册