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

相关文章:

  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2021-12-21
  • 2021-12-18
  • 2021-12-02
  • 2022-01-16
猜你喜欢
  • 2021-09-12
  • 2022-12-23
  • 2021-12-31
  • 2021-12-24
  • 2022-12-23
  • 2022-02-12
  • 2022-01-12
相关资源
相似解决方案