From 484d3011afaaec455cb49253e76bb6aec456bb6b Mon Sep 17 00:00:00 2001 From: thinkerou Date: Mon, 30 Apr 2018 22:49:05 +0800 Subject: [PATCH] fix code style --- binding/binding_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding/binding_test.go b/binding/binding_test.go index e0c0e16c..d6899dbb 100644 --- a/binding/binding_test.go +++ b/binding/binding_test.go @@ -990,7 +990,7 @@ func testFormBindingForType(t *testing.T, method, path, badPath, body, badBody s Idx int "form:\"idx\"" }(struct { Idx int "form:\"idx\"" - }{Idx:123}), + }{Idx: 123}), obj.StructFoo) case "StructPointer": obj := FooStructForStructPointerType{} @@ -1001,7 +1001,7 @@ func testFormBindingForType(t *testing.T, method, path, badPath, body, badBody s Name string "form:\"name\"" }(struct { Name string "form:\"name\"" - }{Name:"thinkerou"}), + }{Name: "thinkerou"}), *obj.StructPointerFoo) case "Map": obj := FooStructForMapType{}