Skip to content

Instantly share code, notes, and snippets.

@rambolee
rambolee / gvm-修改国内镜像.md
Created May 9, 2017 06:31
Golang GVM 修改国内镜像

使用 GVM 安装不同版本的 Go。碰到问题是国内无法访问 GVM 配置的源地址。报如下错误:

[root@mq:/home/wwwroot/]
$ gvm install go1.8
Downloading Go source...
Installing go1.8...
 * Compiling...
ERROR: Couldn't download Go source. Check the logs /root/.gvm/logs/go-download.log
$ cat /root/.gvm/logs/go-download.log