From 60a377a7f37a20ef64fb76fee86da6c4886ae124 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Tue, 19 May 2015 18:59:05 -0700 Subject: [PATCH] Fixed debug call Signed-off-by: Vishal Rana --- examples/middleware/server.go | 2 +- middleware/recover_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/middleware/server.go b/examples/middleware/server.go index 65201291..9697440c 100644 --- a/examples/middleware/server.go +++ b/examples/middleware/server.go @@ -17,7 +17,7 @@ func main() { e := echo.New() // Debug mode - e.Debug(true) + e.SetDebug(true) //------------ // Middleware diff --git a/middleware/recover_test.go b/middleware/recover_test.go index 3f16fe14..25f85d69 100644 --- a/middleware/recover_test.go +++ b/middleware/recover_test.go @@ -10,7 +10,7 @@ import ( func TestRecover(t *testing.T) { e := echo.New() - e.Debug(true) + e.SetDebug(true) req, _ := http.NewRequest(echo.GET, "/", nil) w := httptest.NewRecorder() res := &echo.Response{Writer: w}