mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-11-25 01:16:45 +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程序
|
### 编译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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user