parent
51d9001320
commit
510a9e13db
|
@ -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 配置
|
||||||
|
|
|
@ -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 示例说明
|
||||||
|
|
Loading…
Reference in New Issue