go mod问题解决

问题一

go list -m: can't compute 'all' using the vendor directory
	(Use -mod=mod or -mod=readonly to bypass.)

解决方法:
目前根据提示,我们需要删除代码库下vendor目录才能解决问题

rm -rf vendor

问题二

go mod问题解决_第1张图片

https://goproxy.cn,direc

你可能感兴趣的:(golang快速入门)