© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. FreemanPro Gohttps://doi.org/10.1007/978-1-4842-7355-5_33

33. Middleware, Templates, and Handlers

Adam Freeman1  
(1)
London, UK
 

In this chapter, I continue development of the web application platform started in Chapter 32, adding support for handling HTTP requests.

Tip

You can download the example project for this chapter—and for all the other chapters in this book—from https://github.com/apress/pro-go. See Chapter 2 for how to get help if you have problems running the examples.

Creating the Request Pipeline

The next step in building the platform is to create a web service that will handle HTTP requests from browsers. To prepare, I am going to create a simple ...

Get Pro Go: The Complete Guide to Programming Reliable and Efficient Software Using Golang 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.