补充资料.

Signed-off-by: rick.chan <cy187lion@sina.com>
This commit is contained in:
rick.chan 2023-08-13 11:43:12 +08:00
parent 51d9001320
commit 510a9e13db
2 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,7 @@ go install github.com/haya14busa/goplay/cmd/goplay@latest
go install honnef.co/go/tools/cmd/staticcheck@latest go install honnef.co/go/tools/cmd/staticcheck@latest
go install golang.org/x/tools/gopls@latest go install golang.org/x/tools/gopls@latest
go install golang.org/x/tools/cmd/godoc@latest go install golang.org/x/tools/cmd/godoc@latest
go install golang.org/x/tools/cmd/goimports
``` ```
### 1.3. VSCode 配置 ### 1.3. VSCode 配置

View File

@ -114,6 +114,8 @@ func run(w *app.Window) error {
```bash ```bash
go mod tidy go mod tidy
go run . go run .
# Windows 下运行时不弹出命令行窗口.
go build -ldflags "-s -w -H=windowsgui -extldflags=-static"
``` ```
### 2.1. PC 示例说明 ### 2.1. PC 示例说明