From 071c22a8818829404a007023ec8908dfd2932e5f Mon Sep 17 00:00:00 2001 From: Jacky Date: Wed, 5 Feb 2025 18:45:07 +0800 Subject: [PATCH] chore: update docs --- README-es.md | 1 + README-vi_VN.md | 1 + README-zh_CN.md | 1 + README-zh_TW.md | 1 + README.md | 1 + docs/guide/build.md | 1 + docs/zh_CN/guide/build.md | 1 + docs/zh_TW/guide/build.md | 1 + 8 files changed, 8 insertions(+) diff --git a/README-es.md b/README-es.md index 5ff55461..5aff3907 100644 --- a/README-es.md +++ b/README-es.md @@ -236,6 +236,7 @@ pnpm build Primero compile la interfaz y luego ejecute el siguiente comando en el directorio raíz del proyecto. ```shell +go generate go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go ``` diff --git a/README-vi_VN.md b/README-vi_VN.md index 960415a2..934eb35f 100644 --- a/README-vi_VN.md +++ b/README-vi_VN.md @@ -290,6 +290,7 @@ pnpm build Vui lòng build Frontend trước, sau đó thực hiện lệnh sau trong thư mục gốc của dự án. ```shell +go generate go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go ``` diff --git a/README-zh_CN.md b/README-zh_CN.md index 396c098a..320007cc 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -230,6 +230,7 @@ pnpm build 请先完成前端编译,再回到项目的根目录执行以下命令。 ```shell +go generate go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go ``` diff --git a/README-zh_TW.md b/README-zh_TW.md index c0173bff..5c95f9d1 100644 --- a/README-zh_TW.md +++ b/README-zh_TW.md @@ -235,6 +235,7 @@ pnpm build 請先完成前端編譯,再回到專案的根目錄執行以下命令。 ```shell +go generate go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go ``` diff --git a/README.md b/README.md index 02bbc505..01854d19 100644 --- a/README.md +++ b/README.md @@ -296,6 +296,7 @@ pnpm build Please build the app first, and then execute the following command in the project root directory. ```shell +go generate go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go ``` diff --git a/docs/guide/build.md b/docs/guide/build.md index 60f31e88..bb8095b1 100644 --- a/docs/guide/build.md +++ b/docs/guide/build.md @@ -32,5 +32,6 @@ Before building the backend, the app should be built first because the backend w Please execute the following command in the project root directory. ```shell +go generate go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go ``` diff --git a/docs/zh_CN/guide/build.md b/docs/zh_CN/guide/build.md index 75c124ae..0ac87f4e 100644 --- a/docs/zh_CN/guide/build.md +++ b/docs/zh_CN/guide/build.md @@ -31,5 +31,6 @@ pnpm build 请在项目的根目录执行以下命令。 ```shell +go generate go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go ``` diff --git a/docs/zh_TW/guide/build.md b/docs/zh_TW/guide/build.md index 34e22971..40357f63 100644 --- a/docs/zh_TW/guide/build.md +++ b/docs/zh_TW/guide/build.md @@ -31,5 +31,6 @@ pnpm build 請在專案的根資料夾執行以下命令。 ```shell +go generate go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go ```