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