当前位置:首页 > 分享 > 经验 > 正文内容

配置 Go 模块代理(推荐)

Watrt7个月前 (03-29)经验538660

为了提高模块下载速度,建议配置 Go 模块代理:

# 启用 Go Modules
go env -w GO111MODULE=on

# 配置模块代理
go env -w GOPROXY=https://goproxy.cn,direct

# 配置私有模块跳过代理
go env -w GOPRIVATE=*.corp.example.com


打赏 支付宝打赏 微信打赏

相关文章

连接 Grbl

连接 Grbl

This wiki is intended to provide various instructions on how to connect to grbl in various ways. Please feel free to contribute more up-to-date or alternative methods.这个维基旨在提供如何以不同的方式连接 Grbl 的各种说明。请随时提供更多最新的或替代的方法。Grbl 的针脚Pin diagram for Grbl v0.8 an...

Unicode 编码 范围

Unicode 编码 范围

0000−007F基本拉丁字母0080−00FF拉丁文补充10100−017F拉丁文扩展A0180−024F拉丁文扩展B0250−02AF国际音标扩展02B0−02FF占位修饰符号0300−036F结合附加符号0370−03FF希腊字母及科普特字母0400−04FF西里尔字母0500−052F西里尔字母补充0530−058F亚美尼亚字母0590−05FF希伯来文0600−06FF阿拉伯文0700−074F叙利亚文0750−077F阿拉伯文补充0780−07BF它拿字母07C0−07FF西非书面语...

lcr-t4 晶体管测试仪更新固件

lcr-t4 晶体管测试仪更新固件

固件和手册transistortester1.21k.zipavrdudeprog33.zip通过创建具有以下功能的.bat文件(并指定适当的COM端口),也可以轻松地直接从Windows中的命令行进行编程:REM Writing Flash + EEPROM + Fuses (L=F7, H=D9, E=FC) avrdude -c avrisp -p m328p...

rainmeter 插件小调版

rainmeter 插件小调版

超详细系统信息.zip...

包管理换国内源

包管理换国内源

Pip提供方源及使用方式豆瓣https://pypi.doubanio.com/simple/pip install -i https://pypi.doubanio.com/simple/清华大学https://pypi.tuna.tsinghua.edu.cn/simplepip install -i https://pypi.tuna.tsinghua.edu.cn/simple阿里云https://mirrors.aliyun....