Here’s my build command:
$env:GOOS = “windows”
$env:GOARCH = “amd64”
go build -ldflags “-H=windowsgui” -o build/output.exe .
Anyone has any tips on what might trigger Windows Defender alert on golang binary. This happens even if the binary does nothing but hello world golang application