Re: [go-nuts] Fixing the version of protoc-gen-go

2018-04-10 Thread Amit Chandak
Thanks Stephan, that worked Amit On Tuesday, March 27, 2018 at 5:38:39 AM UTC-7, Stephan Renatus wrote: > > Hi Amit, > > have you tried this? > > go install ./vendor/github.com/golang/protobuf/protoc-gen-go > > Also note that you might have to add a required statement to Gopkg.toml > to avoi

Fwd: [go-nuts] Fixing the version of protoc-gen-go

2018-03-27 Thread Stephan Renatus
Hi Amit, have you tried this? go install ./vendor/github.com/golang/protobuf/protoc-gen-go Also note that you might have to add a required statement to Gopkg.toml to avoid having the binary's code pruned, see https://github.com/golang/dep/ blob/master/docs/Gopkg.toml.md#package-graph-rules-requi

[go-nuts] Fixing the version of protoc-gen-go

2018-03-23 Thread Timothy Raymond
I've been running protoc and protoc-gen-go in a container (and fixing versions by checking out commits) to try to address this problem for my projects. I'd love to hear what others have done though. -- You received this message because you are subscribed to the Google Groups "golang-nuts" grou

[go-nuts] Fixing the version of protoc-gen-go

2018-03-23 Thread amit . chandak
Hi, I am using dep for version management. I need to have the following protoc plugin. go get -u github.com/golang/protobuf/protoc-gen-go go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger The way i