这里写目录标题
执行
go install github.com/mitchellh/gox@latest
提示下面错误,我浏览器直接访问时能访问了,这个下面的提示是golang代理问题
go install: github.com/mitchellh/gox@latest: module github.com/mitchellh/gox: Get “https://proxy.golang.org/github.com/mitchellh/gox/@v/list”: dial tcp 142.251.43.17:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
默认的国外代理国内应该访问不到
执行下面命令修改代理
go env -w GOPROXY=https://goproxy.cn,direct
重新执行get就好了
记录一下
一些常用的练习