我是靠谱客的博主 执着蓝天,这篇文章主要介绍GO问题编译问题GO问题Confirm the import path was entered correctly.,现在分享给大家,希望可以做个参考。

GO问题

go: git.www.com/twpwwx-protobu3f@v0.0.0-202010we463a07: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/Swku/go/pkg/mod/cache/vcs/340wc3e1615b0ac00345d2fbb200459d37483e6: exit status 128:
remote: The project you were looking for could not be found.
fatal: repository 'https://gwaw.com/twotobu3f.git/' not found

git.game.com为我单位私有地址

本地环境添加

go env -w GONOSUMDB=git.game.com

go env -w GONOPROXY=git.game.com

Confirm the import path was entered correctly.

vim ~/.gitconfig

[url "git@git.game.com:"]
	insteadOf = https://git.game.com/
[url "git@github.com:"]
	insteadOf = https://github.com/

最后

以上就是执着蓝天最近收集整理的关于GO问题编译问题GO问题Confirm the import path was entered correctly.的全部内容,更多相关GO问题编译问题GO问题Confirm内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(109)

评论列表共有 0 条评论

立即
投稿
返回
顶部