windows之go get报错

2021-01-20 01:18

阅读:571

标签:tin   com   tps   class   div   ble   undle   style   conf   

windows之go get报错

C:\Users\ASUS>go get github.com/grafana/grafana
# cd .; git clone -- https://github.com/grafana/grafana D:\code\go\src\github.com\grafana\grafana
Cloning into D:\code\go\src\github.com\grafana\grafana...
fatal: unable to access https://github.com/grafana/grafana/: error setting certificate verify locations:
  CAfile: D:/Program Files/Git/mingw64/bin/curl-ca-bundle.crt
  CApath: none
package github.com/grafana/grafana: exit status 128

解决办法:

关闭证书校验

git config --system http.sslverify false 

  

windows之go get报错

标签:tin   com   tps   class   div   ble   undle   style   conf   

原文地址:https://www.cnblogs.com/zhangcheng94/p/12148418.html


评论


亲,登录后才可以留言!