windows之go get报错

Posted zhangcheng94

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了windows之go get报错相关的知识,希望对你有一定的参考价值。

windows之go get报错

C:UsersASUS>go get github.com/grafana/grafana
# cd .; git clone -- https://github.com/grafana/grafana D:codegosrcgithub.comgrafanagrafana
Cloning into D:codegosrcgithub.comgrafanagrafana...
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报错的主要内容,如果未能解决你的问题,请参考以下文章

windows通过Visual Studio Code中配置GO开发环境(转)

windows下的go get 显示进度

add application window with unknown token XXX Unable to add window;is your activity is running?(代码片段

add application window with unknown token XXX Unable to add window;is your activity is running?(代码片段

SQL注入之GET型(select)

踩坑系列之go的unexpected directory layout