labstack/echo ? reverse-engineered prompt
Reverse engineered prompt
Build me a fast, minimal Go web framework like Echo.
I want it to feel simple to use, but still cover the basics people need for real APIs, like routing with path params and grouped routes, middleware, request binding for JSON, forms, query strings, and path values, plus one place to handle errors cleanly. It should work well with Go’s normal net/http, but make it easy to add helpers for JSON, XML, HTML, files, streams, and template rendering.
Please also include request logging, panic recovery, TLS support, graceful shutdown, and a way to plug in custom validation. If you can, make the router very fast and keep the API small and easy to read. I’d like an example app and a solid set of tests too. Look up current Go docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit