golang go get速度慢解决方法
go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct
安装完golang后,输入goenv可以看到GOPATH="/home/zhongzhanhui/go"GOROOT="/usr/local/go"GOBIN=""1.goget参考http://c.biancheng.net/view/1…
#sudoapt-getinstalldnsmasq#sudogedit/etc/dnsmasq.conf按ctrl+f找到listen-address修改为如下:listen-address=127.0.0.1保存退出。然后#sudoge…
gogetgolang.org/x包失败解决方法由于各种问题,国内使用goget安装golang官方包可能会失败,如我自己在安装collidermain时,出现了以下报错:$gogetcollidermainpackagegolang.or…
昨天晚上装了个虚拟机,Centos7安装都正常,网络访问也正常,但是打算安装beego的时候,把我给噎着了,无论是怎么操作,gogetgithub.com/astaxie/beego都是没有反应,检查GOROOT、GOPATH都正常,尝试各…
verifyinggithub.com/gorilla/websocket@v1.4.1/go.mod:github.com/gorilla/websocket@v1.4.1/go.mod:Gethttps://sum.golang.org…
一、golang之旅--gopm1.什么是gopm在nodejs中我们有npm,可以通过npm来下载安装一些依赖包。在go中也开发了类似的东西,那就是gopm。这玩意儿是七牛开发的。在这里说下,七牛公司大部分程序都是用go语言编写的,所以开…
vim/etc/hosts192.30.253.112github.com151.101.185.194github.global.ssl.fastly.net
此处备注一下,通过Request实例中获取URL,然后调用URL的方法就可以了//获取URL的GET参数funcGetUrlArg(r*http.Request,namestring)string{varargstringvalues:=r…