I just generated some new protobuf .pb.go files. WhenI go to build I get this error "undefined: proto.InternalMessageInfo".
I know this is because of the new branch that was merged in today https://groups.google.com/forum/#!topic/protobuf/N-elvFu4dFM. I just want my code to compile.
Any suggestions?
We are having the same issue.
Can you report this to https://github.com/golang/protobuf ? The protobuf go generator and runtime is hosted in a different repository.
I had the same issue today. There are two solutions:
protoc-gen-go release v1.1.0 (https://github.com/golang/protobuf/releases/tag/v1.0.0) to generate proto code in the old style.github.com/golang/protobuf somewhere in your project dependencies, you need to bump its version to v1.1.0 and run dep ensure (or appropriate glide command). Then, compilation succeeds with the new types above.Here is some more information on this issue; with a heads-up dating back to Jan: https://groups.google.com/forum/#!topic/golang-nuts/F5xFHTfwRnY
It's fixed after update vendor.
Most helpful comment
I had the same issue today. There are two solutions:
protoc-gen-gorelease v1.1.0 (https://github.com/golang/protobuf/releases/tag/v1.0.0) to generate proto code in the old style.github.com/golang/protobufsomewhere in your project dependencies, you need to bump its version tov1.1.0and rundep ensure(or appropriate glide command). Then, compilation succeeds with the new types above.