Install Golang with: pacman -S mingw-w64-x86_64-go Configure env variables: export GOROOT=/mingw64/lib/go export GOPATH=/mingw64