Modern (Go) application design
When it comes to application design, I’ve formed a few opinions backed by experience. The most important one is: structure matters. In my first years of development, I’ve built a CMS system that was copied over more than 100 times for different web pages. You don’t get there unless you repeat the same process over and over.
Application development is like that. If you’re writing one middleware, you want the process to be repeatable for each following middleware.