testFormBindingForTimeNotFormat() — gin Function Reference
Architecture documentation for the testFormBindingForTimeNotFormat() function in binding_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 9e5c521d_dd65_5812_ca27_67ab3ee32603["testFormBindingForTimeNotFormat()"] 57bbb106_4412_fea3_0743_68d0b7ed515a["TestBindingFormForTime()"] 57bbb106_4412_fea3_0743_68d0b7ed515a -->|calls| 9e5c521d_dd65_5812_ca27_67ab3ee32603 16321679_85ac_7e6a_e9a2_dbb59cde6359["TestBindingFormForTime2()"] 16321679_85ac_7e6a_e9a2_dbb59cde6359 -->|calls| 9e5c521d_dd65_5812_ca27_67ab3ee32603 2899e942_a23d_574e_8d47_d28e895c2604["requestWithBody()"] 9e5c521d_dd65_5812_ca27_67ab3ee32603 -->|calls| 2899e942_a23d_574e_8d47_d28e895c2604 style 9e5c521d_dd65_5812_ca27_67ab3ee32603 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/binding_test.go lines 1000–1016
func testFormBindingForTimeNotFormat(t *testing.T, method, path, badPath, body, badBody string) {
b := Form
assert.Equal(t, "form", b.Name())
obj := FooStructForTimeTypeNotFormat{}
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 = FooStructForTimeTypeNotFormat{}
req = requestWithBody(method, badPath, badBody)
err = JSON.Bind(req, &obj)
require.Error(t, err)
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testFormBindingForTimeNotFormat() do?
testFormBindingForTimeNotFormat() is a function in the gin codebase.
What does testFormBindingForTimeNotFormat() call?
testFormBindingForTimeNotFormat() calls 1 function(s): requestWithBody.
What calls testFormBindingForTimeNotFormat()?
testFormBindingForTimeNotFormat() is called by 2 function(s): TestBindingFormForTime, TestBindingFormForTime2.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free