Hacker News new | ask | show | jobs
by jwcrux 2050 days ago
You almost certainly don't need a web framework. Over the long term, it's easy to find yourself boxed in with how opinionated many of them are.

Instead, if you build on the standard library, you can compose your application from there- a good muxer, some standard middleware that are generic http.Handler's, a session library, etc.

1 comments

So, you chose a good muxer. Now, which of hundreds of logging, cors, sessions, jwt and permissions middlewares work with said mud and with each other best?

Or, and bear with me here, you can outsource those decisions to other folks, and just write your business logic.