Linux安装protobuf和protoc-gen-go
1. 安装protobuf
下载连接: https://github.com/protocolbuffers/protobuf/releases
选择相应的版本下载并解压到制定目录
Linux: unzip protoc-3.10.0-rc-1-linux-x86_64.zip -d /usr/local/
2. 安装protoc-gen-go(golang安装版本)
go get -u github.com/golang/protobuf/protoc-gen-go