arthurnn / twirp-ruby

Twirp services in Ruby
Apache License 2.0
148 stars 57 forks source link

"go get -u github.com/twitchtv/twirp-ruby/protoc-gen-twirp_ruby" yields module deprecated error #90

Closed Bhavya closed 1 year ago

Bhavya commented 1 year ago

I recently pulled the latest repo and followed along with the example tutorial. Modified one of the protos to test and started to run code gen when I got this output trying to install the Twirp plugin:

go: downloading google.golang.org/protobuf v1.28.1 go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead. go: upgraded google.golang.org/protobuf v1.28.0 => v1.28.1

Can I get some help understanding if this is a known plugin issue or a local dependency issue on my part? Thanks.

Bhavya commented 1 year ago

Looks like documented way of installing protoc-gen-twirp_ruby is deprecated and the right/current way to do it is go install github.com/twitchtv/twirp-ruby/protoc-gen-twirp_ruby@latest. It would be appreciated if you could update your docs for those unfamiliar with Go setup.

THANKS FOR NOTHING, TWITCH.