Browse Source

Merge pull request #220 from ironiridis/patch-1

Remove reference to Martini from recovery.go
Javier Provecho Fernandez 11 years ago
parent
commit
5f68948ab0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      recovery.go

+ 1 - 1
recovery.go

@@ -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.
 // 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 {
 func Recovery() HandlerFunc {
 	return func(c *Context) {
 	return func(c *Context) {
 		defer func() {
 		defer func() {