testFormBindingIgnoreField() — gin Function Reference
Architecture documentation for the testFormBindingIgnoreField() function in binding_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD e245b601_05e1_10c2_6fe9_79579fa81040["testFormBindingIgnoreField()"] cd5ede41_a7fe_7116_51ee_b42cabb045c8["TestFormBindingIgnoreField()"] cd5ede41_a7fe_7116_51ee_b42cabb045c8 -->|calls| e245b601_05e1_10c2_6fe9_79579fa81040 2899e942_a23d_574e_8d47_d28e895c2604["requestWithBody()"] e245b601_05e1_10c2_6fe9_79579fa81040 -->|calls| 2899e942_a23d_574e_8d47_d28e895c2604 style e245b601_05e1_10c2_6fe9_79579fa81040 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/binding_test.go lines 1054–1067
func testFormBindingIgnoreField(t *testing.T, method, path, badPath, body, badBody string) {
b := Form
assert.Equal(t, "form", b.Name())
obj := FooStructForIgnoreFormTag{}
req := requestWithBody(method, path, body)
if method == http.MethodPost {
req.Header.Add("Content-Type", MIMEPOSTForm)
}
err := b.Bind(req, &obj)
require.NoError(t, err)
assert.Nil(t, obj.Foo)
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does testFormBindingIgnoreField() do?
testFormBindingIgnoreField() is a function in the gin codebase.
What does testFormBindingIgnoreField() call?
testFormBindingIgnoreField() calls 1 function(s): requestWithBody.
What calls testFormBindingIgnoreField()?
testFormBindingIgnoreField() is called by 1 function(s): TestFormBindingIgnoreField.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free