mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 18:22:23 +08:00
fix code style
This commit is contained in:
parent
0bbc36ea77
commit
484d3011af
@ -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{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user