在我的go项目上运行go get时,我收到以下错误消息:
package code.google.com/p/goprotobuf/proto: unable to detect version control system for code.google.com/ path
我什么都没改,这是怎么回事?
发布于 2015-06-12 04:54:57
golang protobuf项目已经从google code迁移到了github。
用于从协议缓冲区定义生成go代码的protoc版本已过期,并使用旧的导入。
从github安装protoc-gen-go项目说明:https://github.com/golang/protobuf
https://stackoverflow.com/questions/30791278
复制相似问题