Skip to content
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

Add an gRPC server example #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hustuhao
Copy link

@hustuhao hustuhao commented Oct 1, 2022

Hi, I am working on the issue: Add an example for grpc servers
It 's my first time to make a PR in Github.I hope to know if there is something I did wrong in this PR.

Thanks for your time.May you have a nice day!

go.mod Outdated
require golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4
require (
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4
google.golang.org/grpc v1.49.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a heavy dependency just for 1 example, better to keep in a separate module.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a heavy dependency just for 1 example, better to keep in a separate module.

Thank you for your feedback and suggestions. To address this, I will create a separate module for the example code to keep the dependencies isolated.

Additionally, I think that http_example_test.go and tcp_example_test.go could also be included in this module. I'm not sure if this would be appropriate though.

Have a nice day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants