Setting Up a Project
As the chapter title suggests, we are going to set up a gRPC project from scratch. We are first going to create our Protobuf schema as we are doing schema-driven development. Once the schema is created, we will generate Go code. Finally, we are going to write the templates for the server and client so that we can reuse them later in this book.
In this chapter, we’re going to cover the following main topics:
- Common gRPC project architecture
- Generating Go code out of a schema
- Writing reusable server/client templates