diff --git a/Software/Development/Language/Go/Basic/Golang_安装_Packages.md b/Software/Development/Language/Go/Basic/Golang_安装_Packages.md index 293925a..baa859b 100644 --- a/Software/Development/Language/Go/Basic/Golang_安装_Packages.md +++ b/Software/Development/Language/Go/Basic/Golang_安装_Packages.md @@ -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 +```