补充 安装 Packages 方法.
Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
parent
f0b30c4e32
commit
25837393f6
|
@ -9,3 +9,13 @@ go 默认使用的是 proxy.golang.org,在国内无法访问。
|
|||
```bash
|
||||
go env -w GOPROXY=https://goproxy.cn
|
||||
```
|
||||
|
||||
## 2.安装 Packages
|
||||
|
||||
以安装 guru 为例:
|
||||
|
||||
```bash
|
||||
go get golang.org/x/tools/cmd/guru
|
||||
go build golang.org/x/tools/cmd/guru
|
||||
mv guru $(go env GOROOT)/bin
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue