TestMappingCustomArrayUri() — gin Function Reference
Architecture documentation for the TestMappingCustomArrayUri() function in form_mapping_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD f3387ecc_282e_28d8_ab12_ca859eaebf9c["TestMappingCustomArrayUri()"] 36de44f8_6a8c_78ab_4c20_59952e276c82["form_mapping_test.go"] f3387ecc_282e_28d8_ab12_ca859eaebf9c -->|defined in| 36de44f8_6a8c_78ab_4c20_59952e276c82 5c85b160_cd17_8c57_0c64_51be3c9bcbc4["convertTo()"] f3387ecc_282e_28d8_ab12_ca859eaebf9c -->|calls| 5c85b160_cd17_8c57_0c64_51be3c9bcbc4 style f3387ecc_282e_28d8_ab12_ca859eaebf9c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/form_mapping_test.go lines 692–702
func TestMappingCustomArrayUri(t *testing.T) {
var s struct {
FileData objectID `uri:"id"`
}
val := `664a062ac74a8ad104e0e80f`
err := mappingByPtr(&s, formSource{"id": {val}}, "uri")
require.NoError(t, err)
expected, _ := convertTo(val)
assert.Equal(t, expected, s.FileData)
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does TestMappingCustomArrayUri() do?
TestMappingCustomArrayUri() is a function in the gin codebase, defined in binding/form_mapping_test.go.
Where is TestMappingCustomArrayUri() defined?
TestMappingCustomArrayUri() is defined in binding/form_mapping_test.go at line 692.
What does TestMappingCustomArrayUri() call?
TestMappingCustomArrayUri() 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