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