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