TestMappingCustomSliceOfSliceUnmarshalTextUri() — gin Function Reference
Architecture documentation for the TestMappingCustomSliceOfSliceUnmarshalTextUri() function in form_mapping_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD ca5c4f19_5cc5_06af_2575_1aa214057250["TestMappingCustomSliceOfSliceUnmarshalTextUri()"] 36de44f8_6a8c_78ab_4c20_59952e276c82["form_mapping_test.go"] ca5c4f19_5cc5_06af_2575_1aa214057250 -->|defined in| 36de44f8_6a8c_78ab_4c20_59952e276c82 style ca5c4f19_5cc5_06af_2575_1aa214057250 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/form_mapping_test.go lines 896–903
func TestMappingCustomSliceOfSliceUnmarshalTextUri(t *testing.T) {
var s struct {
FileData []customPathUnmarshalText `uri:"path,parser=encoding.TextUnmarshaler" collection_format:"csv"`
}
err := mappingByPtr(&s, formSource{"path": {"bar/foo,bar/foo/spam"}}, "uri")
require.NoError(t, err)
assert.Equal(t, []customPathUnmarshalText{{"bar", "foo"}, {"bar", "foo", "spam"}}, s.FileData)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does TestMappingCustomSliceOfSliceUnmarshalTextUri() do?
TestMappingCustomSliceOfSliceUnmarshalTextUri() is a function in the gin codebase, defined in binding/form_mapping_test.go.
Where is TestMappingCustomSliceOfSliceUnmarshalTextUri() defined?
TestMappingCustomSliceOfSliceUnmarshalTextUri() is defined in binding/form_mapping_test.go at line 896.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free