1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-28 08:38:39 +02:00

Fixed debug call

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2015-05-19 18:59:05 -07:00
parent ac4d019a9a
commit 60a377a7f3
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ func main() {
e := echo.New()
// Debug mode
e.Debug(true)
e.SetDebug(true)
//------------
// Middleware

View File

@ -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}