From b8744cca3798e8d26f72d82c7ecdf1e8ac3d8ed6 Mon Sep 17 00:00:00 2001 From: hailaz <739476267@qq.com> Date: Fri, 7 Mar 2025 16:39:52 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E4=BA=A4=E5=8F=89=E7=BC=96=E8=AF=91-b?= =?UTF-8?q?uild.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...44\272\244\345\217\211\347\274\226\350\257\221-build.md" | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git "a/docs/docs/\345\274\200\345\217\221\345\267\245\345\205\267/\344\272\244\345\217\211\347\274\226\350\257\221-build.md" "b/docs/docs/\345\274\200\345\217\221\345\267\245\345\205\267/\344\272\244\345\217\211\347\274\226\350\257\221-build.md" index cb0f8a771ac..47452d76ce1 100644 --- "a/docs/docs/\345\274\200\345\217\221\345\267\245\345\205\267/\344\272\244\345\217\211\347\274\226\350\257\221-build.md" +++ "b/docs/docs/\345\274\200\345\217\221\345\267\245\345\205\267/\344\272\244\345\217\211\347\274\226\350\257\221-build.md" @@ -44,8 +44,8 @@ gfcli: | 名称 | 默认值 | 含义 | 示例 | | --- | --- | --- | --- | | `name` | 与程序入口 `go` 文件同名 | 生成的可执行文件名称。如果是 `windows` 平台,那么默认会加上 `.exe` 后缀 | `gf` | -| `arch` | 当前系统架构 | 编译架构,多个以 `,` 号分隔,如果是 `all` 表示编译所有支持架构 | `386,amd64,arm` | -| `system` | `当前系统平台` | 编译平台,多个以 `,` 号分隔,如果是 `all` 表示编译所有支持平台 | `linux,darwin,windows` | +| `arch` | 当前系统架构 | 编译架构,多个以 `,` 号分隔,如果是 `all` 表示编译所有支持架构 | `386,amd64,arm` [更多](https://golang.google.cn/doc/install/source#environment) | +| `system` | `当前系统平台` | 编译平台,多个以 `,` 号分隔,如果是 `all` 表示编译所有支持平台 | `linux,darwin,windows` [更多](https://golang.google.cn/doc/install/source#environment) | | `path` | `./bin` | 编译可执行文件存储的 **目录地址** | `./bin` | | `mod` | | 同 `go build -mod` 编译选项,不常用 | `none` | | `cgo` | `false` | 是否开启 `CGO`,默认是关闭的。如果开启,那么交叉编译可能会有问题。 | | @@ -88,4 +88,4 @@ $ gf build 2020-12-31 00:36:20.327 go build -o ./bin/windows_386/gf.exe main.go 2020-12-31 00:36:22.994 go build -o ./bin/windows_amd64/gf.exe main.go 2020-12-31 00:36:25.795 done! -``` \ No newline at end of file +```