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 24fab81e_0ccc_d7ce_2040_003b714a1739["TestMappingCustomArrayOfArrayUri()"] 32c96007_7c8e_739e_ee0b_c4532af3bddf["convertTo()"] 24fab81e_0ccc_d7ce_2040_003b714a1739 -->|calls| 32c96007_7c8e_739e_ee0b_c4532af3bddf style 24fab81e_0ccc_d7ce_2040_003b714a1739 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
Calls
Source
Frequently Asked Questions
What does TestMappingCustomArrayOfArrayUri() do?
TestMappingCustomArrayOfArrayUri() is a function in the gin codebase.
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