Golang官网被墙解决办法


GFW墙golang.org  几个解决办法
1修改hosts文件
找到hosts文件
Mac OS X/*nix在/etc/hosts
Windows在C:\WINDOWS\system32\drivers\etc\hosts
增加一行
173.194.75.141 golang.org

2 本地启动godoc服务
godoc -http=:6060
通过浏览器访问http://localhost:6060即可

3. 使用chm手册
astaxie维护了一份chm文档 这次可以看到https://github.com/astaxie/godoc 下载地址:https://github.com/astaxie/godoc/downloads

4. 使用LiteIDE
下载LiteIDE 默认开启了godoc服务 直接在IDE中可以浏览文档

5. 翻墙
根据个人能力 使用代理 VPN或者肉身均可