知识分享之Golang篇是我在日常使用Golang时学习到的各种各样的知识的记录,将其整理出来以文章的形式分享给大家,来进行共同学习。欢迎大家进行持续关注。
知识分享系列目前包含Java、Golang、Linux、Docker等等。
PS E:\goProjectModules\FullTextParticiple> go get github.com/blevesearch/bleve go get: module github.com/blevesearch/bleve: git ls-remote -q origin in C:\Users\zhangyc\go\pkg\mod\cache\vcs\7d5e7b0e7599dfeeda1232602c6eed8bb73db97ac8497937c270d1d2ccca3498: exit status 128: Host key verification failed. fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
1、本地已有的密钥存在问题,导致权限不足 2、正在拉取的库没有权限导致。
1、清除本地的~/.ssh目录(windows和linux均是该目录,其中windows可以使用命令行进入,使用del删除) 2、执行ssh-keygen -t rsa -C "github中的名字",将生成的~/.ssh/.id_rsa.pub 下的内容配置到github中的SSH and GPG kes选项中。 3、再次进行尝试拉取即可成功。
本作品由 cn華少 采用 知识共享署名-非商业性使用 4.0 国际许可协议 进行许可。