goland运行代码报错问题

go_assassin · · 2271 次点击
更多评论
![截屏2021-07-23 上午9.22.46.png](https://static.studygolang.com/210723/57e153313b39ca7e9c4f911d6c80bce0.png)
#2
关闭ssl验证就好了, tr := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, } httpClient.Transport = tr
#3