Sfoglia il codice sorgente

Remove reference to Martini from recovery.go

Christopher Harrington 10 anni fa
parent
commit
6bd27d0238
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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.
-// 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() {