TestMappingCustomArrayOfArrayUri() — gin Function Reference
Architecture documentation for the TestMappingCustomArrayOfArrayUri() function in form_mapping_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 17b657b3_194f_0180_ab24_d9dfc00bf580["TestMappingCustomArrayOfArrayUri()"] 36de44f8_6a8c_78ab_4c20_59952e276c82["form_mapping_test.go"] 17b657b3_194f_0180_ab24_d9dfc00bf580 -->|defined in| 36de44f8_6a8c_78ab_4c20_59952e276c82 5c85b160_cd17_8c57_0c64_51be3c9bcbc4["convertTo()"] 17b657b3_194f_0180_ab24_d9dfc00bf580 -->|calls| 5c85b160_cd17_8c57_0c64_51be3c9bcbc4 style 17b657b3_194f_0180_ab24_d9dfc00bf580 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/form_mapping_test.go lines 716–726
func TestMappingCustomArrayOfArrayUri(t *testing.T) {
id1, _ := convertTo(`664a062ac74a8ad104e0e80e`)
id2, _ := convertTo(`664a062ac74a8ad104e0e80f`)
var s struct {
FileData []objectID `uri:"ids" collection_format:"csv"`
}
err := mappingByPtr(&s, formSource{"ids": {`664a062ac74a8ad104e0e80e,664a062ac74a8ad104e0e80f`}}, "uri")
require.NoError(t, err)
assert.Equal(t, []objectID{id1, id2}, s.FileData)
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does TestMappingCustomArrayOfArrayUri() do?
TestMappingCustomArrayOfArrayUri() is a function in the gin codebase, defined in binding/form_mapping_test.go.
Where is TestMappingCustomArrayOfArrayUri() defined?
TestMappingCustomArrayOfArrayUri() is defined in binding/form_mapping_test.go at line 716.
What does TestMappingCustomArrayOfArrayUri() call?
TestMappingCustomArrayOfArrayUri() calls 1 function(s): convertTo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free