docs(更新文档): 更新文档

This commit is contained in:
xiaoqidun 2020-09-23 15:11:14 +08:00
parent 183014096f
commit fb4ed045b3

@ -37,9 +37,9 @@ docker run --rm -it -v "${pwd}:/go/src/app" -w /go/src/app xiaoqidun/goenv
### 编译linux程序 ### 编译linux程序
```shell ```shell
GOOS=linux export GOOS=linux
GOARCH=amd64 export GOARCH=amd64
CGO_ENABLED=0 export CGO_ENABLED=0
go build -o main_linux_amd64 main.go go build -o main_linux_amd64 main.go
``` ```