2 ms·
How I understand it is that it's up to the user to create a panic handler middleware, which is perfectly valid and what most people are doing anyway. Something
by Thaxll 4y ago
How I understand it is that it's up to the user to create a panic handler middleware, which is perfectly valid and what most people are doing anyway.
Something like: https://github.com/go-chi/chi/blob/master/middleware/recoverer.go#L22 https://github.com/go-chi/chi/blob/master/middleware/recover...