I am studying web development in Golang (Beginner) I came across some code I played around with and I\'m not too sure why it works, I looked through the library source code
I recommend going through these blog posts for anyone trying to understand about http.Handler
A Recap of Request Handling in Go
Making and Using HTTP Middleware