英文:
Unable to detect version control system for go protobuf
问题
在运行go get
命令时,我收到了以下错误消息:
我没有做任何更改,发生了什么事?
英文:
Running go get
on my go project I receive the following error message:
I have not changed anything, what is going on?
答案1
得分: 1
golang protobuf项目已经从google code迁移到github。
用于从协议缓冲区定义生成go代码的protoc
版本已经过时,并且使用了旧的导入方式。
请按照github项目说明安装protoc-gen-go
:https://github.com/golang/protobuf
英文:
The golang protobuf project has moved from google code to github.
The protoc
version being used to generate the go code from the protocol buffer definition is out of date and uses the old import.
Install protoc-gen-go
from github project instructions: https://github.com/golang/protobuf
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论