无法检测到用于Go Protobuf的版本控制系统。

huangapple go评论95阅读模式
英文:

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

huangapple
  • 本文由 发表于 2015年6月12日 04:54:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/30791278.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定