fix code style

This commit is contained in:
thinkerou 2018-04-30 22:49:05 +08:00
parent 0bbc36ea77
commit 484d3011af

View File

@ -990,7 +990,7 @@ func testFormBindingForType(t *testing.T, method, path, badPath, body, badBody s
Idx int "form:\"idx\"" Idx int "form:\"idx\""
}(struct { }(struct {
Idx int "form:\"idx\"" Idx int "form:\"idx\""
}{Idx:123}), }{Idx: 123}),
obj.StructFoo) obj.StructFoo)
case "StructPointer": case "StructPointer":
obj := FooStructForStructPointerType{} obj := FooStructForStructPointerType{}
@ -1001,7 +1001,7 @@ func testFormBindingForType(t *testing.T, method, path, badPath, body, badBody s
Name string "form:\"name\"" Name string "form:\"name\""
}(struct { }(struct {
Name string "form:\"name\"" Name string "form:\"name\""
}{Name:"thinkerou"}), }{Name: "thinkerou"}),
*obj.StructPointerFoo) *obj.StructPointerFoo)
case "Map": case "Map":
obj := FooStructForMapType{} obj := FooStructForMapType{}