1 2 3 4 5 6 7 8
#!/bin/bash # Invoke the Go compiler for localhost. GOOS="linux" GOARCH="amd64" CGO_ENABLED="1" \ CC="clang" \ CXX="clang++" \ exec go "$@"