An tutorial by Abhishek Gupta in which he explores the net/http package in Golang which provides the server and client-side APIs for HTTP services.
This is another piece in a series on the Go programming language which covers some of the most commonly used Go standard library packages: encoding/json, io, net/http, sync, etc.
In this article you will learn about the fundamental building blocks, ServeMux and Server:
- ServeMux (Multiplexer)
- Server (HTTP server)
- Functions as handlers
Nice read! You would cover the basic constructs of the server-side HTTP APIs offered by the net/http package. You will also have access to the all of the code examples on GitHub.
[Read More]