-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
Good day,
First, many thanks go-micro team for this awesome project.
I would like to upgrade go-micro from version v4.11.0 to version v5.3.0. This works quite well so far, but I have the question how I should use the protobuf generation?
My setup provides a Makefile for the generation of the protobuf code, in which the following dependencies are installed first:
go get -u google.golang.org/protobuf/proto@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install github.com/go-micro/generator/cmd/protoc-gen-micro@latest
Then protoc --proto_path=./proto/ --micro_out=. --go_out=:. ./proto/*.proto is called.
Unfortunately, I get the following error when compiling my code:
On further inspection of the generated code, you can see that the v4 of go-micro is still being used and therefore the following questions arise for me:
- Which dependencies need an upgrade in this context?
- How should the upgrade be carried out?
- Are there any best practice recommendations for generating protobuf files?
- Is using https://buf.build/ as a build tool a good choice? Are there any examples or configuration recommendation to use it?
Many thanks and best regards
theexiile1305
Metadata
Metadata
Assignees
Labels
No labels