Introduction

With organizations now moving toward DevOps, microservices have started gaining popularity as well. As these services are independent in nature and can be developed in any language it allows organizations to focus on their development. With knowledge of the concepts covered in this chapter, we will be able to write microservices using Go Micro in a fairly easy way.

In this chapter, we will start by writing the protocol buffer. Then we will learn how we can spin up Consul, which is a Microservice discovery client, and eventually move on to create microservices and interact with them through the command line and web dashboard.

Get Go Web Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.