From fb4ed045b37f1eaf039f94bc4618b462729d3c15 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Wed, 23 Sep 2020 15:11:14 +0800 Subject: [PATCH] =?UTF-8?q?docs(=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3):=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b618827..8e4b2ce 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,9 @@ docker run --rm -it -v "${pwd}:/go/src/app" -w /go/src/app xiaoqidun/goenv ### 编译linux程序 ```shell -GOOS=linux -GOARCH=amd64 -CGO_ENABLED=0 +export GOOS=linux +export GOARCH=amd64 +export CGO_ENABLED=0 go build -o main_linux_amd64 main.go ```