Downgrade Go version on Mac #
% brew upgrade
% go version
go version go1.21.0 darwin/arm64
% brew unlink go
% brew search go@1.18
% brew install go@1.18
% brew link --force go@1.18
% echo 'export PATH="/opt/homebrew/opt/go@1.18/bin:$PATH"' >> ~/.zshrc
% source ~/.zshrc
% go version
go version go1.18.10 darwin/arm64