Unable to detect version control system for go protobuf

1.7k views Asked by At

Running go get on my go project I receive the following error message:

package code.google.com/p/goprotobuf/proto: unable to detect version control system for code.google.com/ path

I have not changed anything, what is going on?

1

There are 1 answers

0
Kyle Kloepper On

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