当我执行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

 

相关文章:

  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-19
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
  • 2021-05-31
相关资源
相似解决方案