安装go package 利器
发布日期:2021-05-04 10:47:12 浏览次数:22 分类:精选文章

本文共 454 字,大约阅读时间需要 1 分钟。

作者踩了好多坑,最后终于找到一个办法解决golang.org package 安装

In Linux or macOS, you can execute the below commands.

Enable the go modules feature

export GO111MODULE=on# Set the GOPROXY environment variableexport GOPROXY=https://goproxy.ioOr, write it into the .bashrc or .bash_profile file.

In Windows, you can execute the below commands.

PowerShell

# Enable the go modules feature$env:GO111MODULE="on"# Set the GOPROXY environment variable$env:GOPROXY="https://goproxy.io"
上一篇:webpack.config.js配置
下一篇:市场监管总局等六部门:推广电子印章应用,提高企业开办服务水平

发表评论

最新留言

哈哈,博客排版真的漂亮呢~
[***.90.31.176]2025年03月29日 15时02分29秒