1.更改代理(方便步骤3) 方法一: goenv-wGOPROXY="https://goproxy.cn" 方法二:(非永久性,该方法对我有效) $env:GOPROXY="https://goproxy.cn" 注:http://mirrors.aliyun.com/goproxy/阿里云代理 https://goproxy.cn七云牛代理 2.安装protoc 从该网站https://github.com/protocolbuffers/protobuf/releases/选择合适版本下载并解压,将其中的protoc.exe文件写入到环境变量就能使用 (我...