buildwindows

4 lines · 108 bytes

1@echo off
2set GOOS=windows
3set GOARCH=amd64
4go build -o curd.exe -ldflags="-s -w" -trimpath cmd\curd\main.go