写在 .bashrc 或 .zshrc 等文件中:

# golang env
export GO111MODULE=on
export GOPROXY=https://goproxy.cn  #七牛云提供的国内代理

 

相关文章:

  • 2022-12-23
  • 2021-06-06
  • 2021-12-05
  • 2021-12-31
  • 2021-06-10
  • 2021-08-18
  • 2021-11-19
  • 2021-08-13
猜你喜欢
  • 2022-02-17
  • 2021-12-16
  • 2022-12-23
  • 2022-01-12
  • 2021-04-22
  • 2022-02-26
  • 2022-12-23
相关资源
相似解决方案