The post explores organizing Go web application middleware with the standard library, avoiding third-party dependencies. It examines alternative methods like creating custom 'chains' and routers to manage middleware efficiently without external packages such as alice or chi, highlighting new functionalities in Go 1.22 and Go 1.23.
Table of contents
Why is managing middleware a problem?An alternative to aliceAn alternative to chi and similar routersSort: