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