Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vergissberlin/go-tutorial-grpc


https://github.com/vergissberlin/go-tutorial-grpc

Last synced: 6 days ago
JSON representation

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
```