mirror of
https://github.com/gin-gonic/gin.git
synced 2025-05-17 23:46:57 +08:00
Remove reference to Martini from recovery.go
This commit is contained in:
@ -82,7 +82,7 @@ func function(pc uintptr) []byte {
|
||||
}
|
||||
|
||||
// Recovery returns a middleware that recovers from any panics and writes a 500 if there was one.
|
||||
// While Martini is in development mode, Recovery will also output the panic as HTML.
|
||||
// While Gin is in development mode, Recovery will also output the panic as HTML.
|
||||
func Recovery() HandlerFunc {
|
||||
return func(c *Context) {
|
||||
defer func() {
|
||||
|
Reference in New Issue
Block a user