4 ms·
The only use for me has been to put a recoverer middleware[1] to catch any unhandled panics and return HTTP 500s in my applications. [1] https://github.com/go-
by supriyo-biswas 2y ago
The only use for me has been to put a recoverer middleware[1] to catch any unhandled panics and return HTTP 500s in my applications.
[1] https://github.com/go-chi/chi/blob/master/middleware/recoverer.go https://github.com/go-chi/chi/blob/master/middleware/recover...