1.使用go1.11以上版本并开启go module机制
2.导出GOPROXY环境变量
 
 
 
export GO111MODULE=on   //linux 、MAC

set GO111MODULE=on   //Windows



export GOPROXY=https://mirrors.aliyun.com/goproxy/

相关文章:

  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-02-25
猜你喜欢
  • 2022-12-23
  • 2022-01-19
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
相关资源
相似解决方案