go get不能安装github包的解决办法_marina_1的博客-CSDN博客
根据上文,在linux终端运行了
git config --global url.git@github.com:.insteadOf https://github.com/
结果是:
]$ go get github.com/xuri/excelize
go get: module github.com/xuri/excelize: git ls-remote -q origin in /home/oliveryty/go/pkg/mod/cache/vcs/aae826f98d044fbc53a22fba35f0f68dd939326c32819be1c0cd315e3518499f: exit status 128:
git@github.com: Permission denied (publickey).
fatal: 无法读取远程仓库。
请确认您有正确的访问权限并且仓库存在。
还有哪儿不对?