testFormBindingInvalidName2() — gin Function Reference
Architecture documentation for the testFormBindingInvalidName2() function in binding_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 08f15599_bcb1_da59_fb4a_b0297e59fed8["testFormBindingInvalidName2()"] 314c6481_2bd0_e5a7_282c_94e41df6062a["binding_test.go"] 08f15599_bcb1_da59_fb4a_b0297e59fed8 -->|defined in| 314c6481_2bd0_e5a7_282c_94e41df6062a 2cd70357_6c3f_c0bd_ae18_47663dc2338f["TestBindingFormInvalidName2()"] 2cd70357_6c3f_c0bd_ae18_47663dc2338f -->|calls| 08f15599_bcb1_da59_fb4a_b0297e59fed8 aebd0564_565b_ba1b_7f92_4baaca0e7b7e["requestWithBody()"] 08f15599_bcb1_da59_fb4a_b0297e59fed8 -->|calls| aebd0564_565b_ba1b_7f92_4baaca0e7b7e style 08f15599_bcb1_da59_fb4a_b0297e59fed8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/binding_test.go lines 1088–1104
func testFormBindingInvalidName2(t *testing.T, method, path, badPath, body, badBody string) {
b := Form
assert.Equal(t, "form", b.Name())
obj := InvalidNameMapType{}
req := requestWithBody(method, path, body)
if method == http.MethodPost {
req.Header.Add("Content-Type", MIMEPOSTForm)
}
err := b.Bind(req, &obj)
require.Error(t, err)
obj = InvalidNameMapType{}
req = requestWithBody(method, badPath, badBody)
err = JSON.Bind(req, &obj)
require.Error(t, err)
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does testFormBindingInvalidName2() do?
testFormBindingInvalidName2() is a function in the gin codebase, defined in binding/binding_test.go.
Where is testFormBindingInvalidName2() defined?
testFormBindingInvalidName2() is defined in binding/binding_test.go at line 1088.
What does testFormBindingInvalidName2() call?
testFormBindingInvalidName2() calls 1 function(s): requestWithBody.
What calls testFormBindingInvalidName2()?
testFormBindingInvalidName2() is called by 1 function(s): TestBindingFormInvalidName2.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free