1
0
mirror of https://github.com/labstack/echo.git synced 2025-07-15 01:34:53 +02:00

exposed default binder, tag for binding query params

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2016-12-10 08:38:27 -08:00
parent 20954afd66
commit 0e7a9c1d49
4 changed files with 16 additions and 14 deletions

View File

@ -245,7 +245,7 @@ func New() (e *Echo) {
Color: color.New(),
}
e.HTTPErrorHandler = e.DefaultHTTPErrorHandler
e.Binder = &binder{}
e.Binder = &DefaultBinder{}
e.Logger.SetLevel(glog.OFF)
e.pool.New = func() interface{} {
return e.NewContext(nil, nil)