Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vergissberlin/go-tutorial-grpc
https://github.com/vergissberlin/go-tutorial-grpc
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vergissberlin/go-tutorial-grpc
- Owner: vergissberlin
- Created: 2023-07-14T11:53:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-15T09:00:05.000Z (11 months ago)
- Last Synced: 2024-10-10T19:41:17.600Z (27 days ago)
- Language: Makefile
- Size: 53.2 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go tutorial - gRPC
This is a simple example of a gRPC server and client in Go. It is based on a course from [Udemy](https://www.udemy.com/course/grpc-golang/).
## Generate the code
To generate the code, run the following command:
```bash
protoc -I ./greet/proto --go_out=. --go_opt=module=github.com/vergissberlin/go-tutorial-grcp/greet/proto --go-grpc_out=. --go-grpc_opt=module=github.com/vergissberlin/go-tutorial-grcp/greet/proto ./greet/proto/dummy.proto
```or with the Makefile:
```bash
make greet
```