@echo off REM 构建脚本:交叉编译 Linux amd64 二进制 set GOOS=linux set GOARCH=amd64 set CGO_ENABLED=0 go build -o douya . echo 构建完成: douya.exe