打包文件 2024年6月7日11:34:42

master
zm 2024-06-07 11:34:44 +08:00
parent f79557ae04
commit e59eb02a27
3 changed files with 12 additions and 0 deletions

3
ReadMe.md Normal file
View File

@ -0,0 +1,3 @@
### 1. 说明
> 代码思路来源于B站视频:

5
build-linux.bat Normal file
View File

@ -0,0 +1,5 @@
set CGO_ENABLED=0
set GOOS=linux
set GOARCH=amd64
go build -o main-linux server/main.go

4
build-window.bat Normal file
View File

@ -0,0 +1,4 @@
set CGO_ENABLED=0
set GOOS=windows
set GOARCH=amd64
go build -o main-windows.exe server/main.go