当前位置:网站首页>GO GOPROXY proxy Settings
GO GOPROXY proxy Settings
2022-07-31 00:24:00 【web15286201346】
A background:
Show timeout when you execute go get command proxy.golang.org --> timeout
leyangjundeMacBook-Pro:photoleyangjun$ go get -u github.com/spf13/cobra
go get -u github.com/spf13/cobra
go get github.com/spf13/cobra: module github.com/spf13/cobra: Get https://proxy.golang.org/github.com/spf13/cobra/@v/list: dial tcp 142.251.10.141:443: i/o timeout
Two: Reasons
https://proxy.golang.org/github.com/ cannot be accessed in China
Third: Change to a domestic accessible address and set up a GOPROXY proxy
go env -w GOPROXY=https://goproxy.cn,direct
go env -w GOSUMDB=off (turn off package validation)
go env -w GOSUMDB=“sum.golang.google.cn” (sum verification service provided in China can also be set)
Note: the -w flag requires one or more parameters of the form NAME=VALUE and overrides the default setting
Let me introduce myself first. The editor graduated from Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Ali in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is also very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
- MySQL数据库的truncate与delete区别
- MySQL grant statements
- pytorch双线性插值
- Error ER_NOT_SUPPORTED_AUTH_MODE Client does not support authentication protocol requested by serv
- 乌克兰外交部:乌已完成恢复粮食安全出口的必要准备
- xss的绕过
- [In-depth and easy-to-follow FPGA learning 13---------Test case design 1]
- 寄存器(汇编语言)
- Kotlin协程:协程上下文与上下文元素
- Meeting OA project pending meeting, all meeting functions
猜你喜欢

Shell programming conditional statement test command Integer value, string comparison Logical test File test

Strict Mode for Databases

.NET Cross-Platform Application Development Hands-on Tutorial | Build a Kanban-style Todo App with Uno Platform

Shell script if statement

(5) fastai application

After writing business code for many years, I found these 11 doorways, which only experts know

The difference between h264 and h265 decoding
![[In-depth and easy-to-follow FPGA learning 15---------- Timing analysis basics]](/img/a9/4c7a703a36a244394b586bfb42ab6b.png)
[In-depth and easy-to-follow FPGA learning 15---------- Timing analysis basics]

joiplay模拟器不支持此游戏类型怎么解决

Steven Giesel recently published a 5-part series documenting his first experience building an application with the Uno Platform.
随机推荐
MPI简谈
web漏洞之需要准备的工作
【Multithreading】
Understand from the 11 common examples of judging equality of packaging types in the written test: packaging types, the principle of automatic boxing and unboxing, the timing of boxing and unboxing, a
xss靶机训练【实现弹窗即成功】
【愚公系列】2022年07月 Go教学课程 019-循环结构之for
从笔试包装类型的11个常见判断是否相等的例子理解:包装类型、自动装箱与拆箱的原理、装箱拆箱的发生时机、包装类型的常量池技术
Strict Mode for Databases
Redis learning
unity2D横版游戏教程4-物品收集以及物理材质
Summary of the stock problem of state machine dynamic programming
IOT cross-platform component design scheme
Jmeter参数传递方式(token传递,接口关联等)
Add text watermark to PHP image
Axure Carousel
【愚公系列】2022年07月 Go教学课程 017-分支结构之IF
pytorch bilinear interpolation
joiplay模拟器rtp如何安装
Shell script if statement
pytorch双线性插值