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