首页
编程技巧
开发教程
工具箱
修改go的默认代理
发布于: 2021-02-20 | 分类:
golang
在命令行使用下面命令完成代理设置
go env -w GOPROXY=https://goproxy.cn,direct
热门分类
Linux (19)
数据库 (17)
Windows (11)
JAVA (9)
Python (7)
Javascript (7)
PHP (7)
golang (7)
.net/c# (6)
Android (5)
C++ (5)
热门标签
报错
linux
性能排查
内存
Windows 10
数据库调优
进程
Java
python
系统日志
推荐阅读
Go程序报panic: runtime error: invalid memory address or nil pointer dereference的排查方法(nil指针、nil map与typed nil定位)
Go内存逃逸到堆与sync.Pool复用的定位方法(go build -gcflags=-m查看escapes to heap与GC压力优化)
Go程序CPU占用过高与内存持续上涨的pprof定位方法(火焰图、heap profile与goroutine泄漏排查)
Go报错context deadline exceeded与dial tcp i/o timeout的排查方法(http.Client超时设置、Transport三个超时字段与数据库连接池定位)
Go报错fatal error: concurrent map read and map write的排查与解决方法(go run -race定位、sync.RWMutex与sync.Map选型)