mirror of
https://github.com/labstack/echo.git
synced 2025-07-17 01:43:02 +02:00
exposed default binder, tag for binding query params
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@ -105,10 +105,10 @@ func TestBinderUnsupportedMediaType(t *testing.T) {
|
||||
testBinderError(t, strings.NewReader(invalidContent), MIMEApplicationJSON)
|
||||
}
|
||||
|
||||
func TestBinderbindForm(t *testing.T) {
|
||||
func TestBinderbindData(t *testing.T) {
|
||||
ts := new(binderTestStruct)
|
||||
b := new(binder)
|
||||
b.bindData(ts, values)
|
||||
b := new(DefaultBinder)
|
||||
b.bindData(ts, values, "form")
|
||||
assertBinderTestStruct(t, ts)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user