从github上clone开源项目,在导入goland的时候,报这个错
go list -m: can't compute 'all' using the vendor directory(Use -mod=mod or -mod=readonly to bypass.)
解决:
删除掉vendor目录解决
想要目录回来 go mod vendor
从github上clone开源项目,在导入goland的时候,报这个错
go list -m: can't compute 'all' using the vendor directory(Use -mod=mod or -mod=readonly to bypass.)
解决:
删除掉vendor目录解决
想要目录回来 go mod vendor