-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support GRPC in Go #50
Comments
Yes, this is the best, I mention pr to try |
Great to know that you feel this is good too! Looking forward to your PR then. P.S. I'm also considering creating a new repo (e.g. |
Merge to wechaty/go-grpc#1 |
We are working on the Go Wechaty recently, so we will need to support the Go version of our GRPC stubs.
The generating part will be very similar to the TypeScript & Python version that we are already supported. see: @chatie/grpc@NPM & chatie-grpc@PyPI
However, there's a difference between the Go and TypeScript/Python: we need to store the generated Go stub source code in our repository, instead of published to a centralized package manager site.
This is because the designers of the Go do not like a central package manager, which will cause many problems. See: Using Go Modules
So let's design the Go support for our
chatie/grpc
, I believe it should:chatie/grpc
repo, which means it should be put into the same DevOps process of our repo here.scripts/generate-stub-go.sh
, like the Pythonscripts/generate-stub-py.sh
as well.chatie-grpc
Go module should be:github.com/chatie/grpc/go/
This is just my initial version of the design, comments and suggestions are welcome, please feel free to start a discussion under this issue.
The text was updated successfully, but these errors were encountered: