粤ICP备20043980号
粤公网安备44040302000337号
CleverGo provides a built-in recovery middleware, what it does is that catch panic and returns the panic error to the upstream middleware.
app.Use(clevergo.Recovery())