Linux配置

在.bash_profile中增加环境变量,这里使用百度的proxy仓库

export GOPROXY=https://goproxy.baidu.com/

也可使用: http://goproxy.cn

Intellij IDEA配置

goland没用过,不过是同一个公司的IDE,配置应该差不多

Settings ->Language & Frameworks Go -> Go Modules

go 配置国内仓库

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-02-09
  • 2022-12-23
  • 2022-02-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-23
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案