Closed zlymeda closed 4 years ago
I could not find a way how to generate proto.MessageV2 when running protoc.
Could you provide what version of protoc-gen-go
you are using? I believe it should work with version 1.21.0 forward, but I would need to double-check that.
you are right! thanks.
I installed protoc with snap (on ubuntu). protoc-gen-go comes with it, but I can't get the version, as protoc-gen-go --version returns error (version arg is not supported).
I changed my PATH to take my go/bin first and now it works. now my versions are:
// versions:
// protoc-gen-go v1.25.0
// protoc v3.11.4
I am having issues running tests/compiling the code:
I believe the main issue is proto.MessageV2 vs proto.MessageV1. go version go1.14.4 linux/amd64
I also ran it in docker using go 1.13: go version go1.13.12 linux/amd64
Steps to reproduce:
Output: