-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
Your question
Document https://go-micro.dev/docs/getting-started.html recormend go install go-micro.dev/v5/cmd/protoc-gen-micro@latest, but failed with follow message
go install go-micro.dev/v5/cmd/protoc-gen-micro@latest
go: go-micro.dev/v5/cmd/protoc-gen-micro@latest: version constraints conflict:
go-micro.dev/v5/cmd/protoc-gen-micro@v1.18.0: parsing go.mod:
module declares its path as: github.com/micro/go-micro
but was required as: go-micro.dev/v5/cmd/protoc-gen-micro
What have you tried?
Try https://github.com/micro/go-micro/tree/master/cmd/protoc-gen-micro recormend go install go-micro.dev/v5/cmd/protoc-gen-micro@v5.10.0, and success.
go install go-micro.dev/v5/cmd/micro@v5.10.0
go: downloading github.com/golang-jwt/jwt/v5 v5.3.0
go: downloading github.com/xlab/treeprint v1.2.0
go: downloading github.com/stretchr/objx v0.5.2
go: downloading github.com/imdario/mergo v0.3.13
Context
My Question is the document was misunderstand. Hope can give some solution and make document less wrong infomation.
Resources you've checked
- Getting Started Guide
- Examples
- API Documentation
- Searched existing issues
Helpful links
Reactions are currently unavailable