Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
voidint committed Jun 8, 2022
1 parent af88c07 commit 7204bb7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- 支持在本地安装多个 go 版本
- 支持卸载已安装的 go 版本
- 支持在已安装的 go 版本之间自由切换
- 支持软件自我更新
- 支持软件自我更新(>= 1.3.0)

## 安装
### 自动化安装
Expand Down Expand Up @@ -125,7 +125,11 @@ Update completed
## FAQ
- 环境变量`G_MIRROR`有什么作用?
由于中国大陆无法自由访问 Golang 官网,导致查询及下载 go 版本都变得困难,因此可以通过该环境变量指定一个镜像站点(如`https://golang.google.cn/dl/`),g 将从该站点查询、下载可用的 go 版本。那支持的镜像站点有哪些?除了前面提到的官方镜像站点,阿里云开源镜像站点(`https://mirrors.aliyun.com/golang/`)也已加入支持。
由于中国大陆无法自由访问 Golang 官网,导致查询及下载 go 版本都变得困难,因此可以通过该环境变量指定一个或多个镜像站点(多个镜像站点之间使用英文逗号分隔),g 将从该站点查询、下载可用的 go 版本。已知的可用镜像站点如下:
- Go官方镜像站点:https://golang.google.cn/dl/
- Go语言中文网:https://studygolang.com/dl/
- 阿里云开源镜像站点:https://mirrors.aliyun.com/golang/
- 是否支持网络代理?
Expand Down

0 comments on commit 7204bb7

Please sign in to comment.