I think we should invert this check, and do something like this:

    if ! go version; then
        echo [...]
        exit 1
    fi

    [normal code here]

I didn't bother inverting this in the original script because I couldn't remember the syntax, and besides the script was so short that it didn't seem to be a huge deal.