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