Build golang app from windows to Linux 64 bit
TL DR; To build app on windows to linux 64 type this in powershell
$Env:GOOS = "linux"; $Env:GOARCH = "amd64"; go build main.go
TL DR; To build app on windows to linux 64 type this in powershell
$Env:GOOS = "linux"; $Env:GOARCH = "amd64"; go build main.go