安装go环境
brew search go@1.21
brew install gp@1.21
echo 'export PATH="/opt/homebrew/opt/go@1.21/bin:$PATH"' >> ~/.zshrc
安装protobuf
brew install protobuf
brew install protoc-gen-go
brew search go@1.21
brew install gp@1.21
echo 'export PATH="/opt/homebrew/opt/go@1.21/bin:$PATH"' >> ~/.zshrc
brew install protobuf
brew install protoc-gen-go