提交 96af38b4 编写于 作者: U Ulric Qin

add GOPROXY export when build

上级 178acfb4
......@@ -15,7 +15,7 @@ Nightingale user manual: [https://n9e.didiyun.com/](https://n9e.didiyun.com/)
mkdir -p $GOPATH/src/github.com/didi
cd $GOPATH/src/github.com/didi
git clone https://github.com/didi/nightingale.git
cd nightingale && export GO111MODULE=on && ./control build
cd nightingale && ./control build
```
## Team
......
......@@ -15,7 +15,7 @@ Nightingale是一套衍生自Open-Falcon的互联网监控解决方案,融入
mkdir -p $GOPATH/src/github.com/didi
cd $GOPATH/src/github.com/didi
git clone https://github.com/didi/nightingale.git
cd nightingale && export GO111MODULE=on && ./control build
cd nightingale && ./control build
```
## 团队
......
......@@ -141,6 +141,9 @@ build_one()
build()
{
export GO111MODULE=on
export GOPROXY=https://mirrors.aliyun.com/goproxy/
mod=$1
if [ "x${mod}" = "x" ]; then
build_one monapi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册