TestMappingCustomArrayUnmarshalTextUri() — gin Function Reference
Architecture documentation for the TestMappingCustomArrayUnmarshalTextUri() function in form_mapping_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 52156f9d_4189_2cd5_445e_7247bc1f8655["TestMappingCustomArrayUnmarshalTextUri()"] 82f141a9_cfc1_da27_873f_93a2a09d460e["convertToOidUnmarshalText()"] 52156f9d_4189_2cd5_445e_7247bc1f8655 -->|calls| 82f141a9_cfc1_da27_873f_93a2a09d460e style 52156f9d_4189_2cd5_445e_7247bc1f8655 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/form_mapping_test.go lines 942–952
func TestMappingCustomArrayUnmarshalTextUri(t *testing.T) {
var s struct {
FileData objectIDUnmarshalText `uri:"id,parser=encoding.TextUnmarshaler"`
}
val := `664a062ac74a8ad104e0e80f`
err := mappingByPtr(&s, formSource{"id": {val}}, "uri")
require.NoError(t, err)
expected, _ := convertToOidUnmarshalText(val)
assert.Equal(t, expected, s.FileData)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does TestMappingCustomArrayUnmarshalTextUri() do?
TestMappingCustomArrayUnmarshalTextUri() is a function in the gin codebase.
What does TestMappingCustomArrayUnmarshalTextUri() call?
TestMappingCustomArrayUnmarshalTextUri() calls 1 function(s): convertToOidUnmarshalText.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free