mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-11-22 08:06:46 +08:00
docs(更新文档): 更新文档
This commit is contained in:
parent
183014096f
commit
fb4ed045b3
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user