upgrade golang on mac code example Example: check go is installed mac # in a shell/terminal go version