Chapter 1. Introduction to Microservices
First, we are going to look at how easy it is to create a simple web server with a single endpoint using the net/http
package. Then, we will move on to examine the encoding/json
package to see just how easy Go makes it for us to use JSON objects for our requests and our responses. Finally, we will look at how routing and handlers work and how we can manage context between these handlers.