【go】visual-go 安装div插件失败
vs-code和go语言开发,
点击上图的
!
出现下面的错误
go.toolsGopath setting is not set. Using GOPATH d:\GoPathInstalling 1 tool at d:\GoPath\bin in module mode.
dlv
Installing github.com/go-delve/delve/cmd/dlv FAILED
1 tools failed to install.
dlv:
Error: Command failed: D:\Go\bin\go.exe get -v github.com/go-delve/delve/cmd/dlv
Fetching https://github.com?go-get=1
https fetch failed: Get https://github.com?go-get=1: x509: certificate signed by unknown authority
go get github.com/go-delve/delve/cmd/dlv: git ls-remote -q origin in d:\GoPath\pkg\mod\cache\vcs\63acfe1b4020438bdd7781e1f371a19551cd11921a439dbc246d5dba4f37c588: exit status 128:
fatal: unable to access 'https://github.com/go-delve/delve/': SSL certificate problem: self signed certificate in certificate chain
Fetching https://github.com?go-get=1
https fetch failed: Get https://github.com?go-get=1: x509: certificate signed by unknown authority
go get github.com/go-delve/delve/cmd/dlv: git ls-remote -q origin in d:\GoPath\pkg\mod\cache\vcs\63acfe1b4020438bdd7781e1f371a19551cd11921a439dbc246d5dba4f37c588: exit status 128:
fatal: unable to access 'https://github.com/go-delve/delve/': SSL certificate problem: self signed certificate in certificate chain
回答
以上是 【go】visual-go 安装div插件失败 的全部内容, 来源链接: utcz.com/a/114865.html