- http
//client func main() { resp, err := http.Get("http://www.baidu.com") if err != nil { panic(err.Error()) } defer resp.Body.Close() s, err := httputil.DumpResponse(resp, true) if err != nil { panic(err.Error()) } fmt.Printf("%s\n", s) }
- bufio
- log
- encoding
- json
- regexp
- time
- strings
- math
- rand
查看标准库文档
命令:
本文参与
腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2018-07-09,如有侵权请联系
cloudcommunity@tencent.com 删除