当我执行go install github.com/xxxxx 时候 , 报错:
can't load package: cannot find module providing package github.com/xxx: working directory is not part of a module
使用的go module来解决依赖问题
执行一下
go mod init
当我执行go install github.com/xxxxx 时候 , 报错:
can't load package: cannot find module providing package github.com/xxx: working directory is not part of a module
使用的go module来解决依赖问题
执行一下
go mod init
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。