testFormBindingForTimeNotUnixFormat() — gin Function Reference
Architecture documentation for the testFormBindingForTimeNotUnixFormat() function in binding_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD c88d6cb1_7d60_84ec_fd33_2f9130172b5a["testFormBindingForTimeNotUnixFormat()"] 57bbb106_4412_fea3_0743_68d0b7ed515a["TestBindingFormForTime()"] 57bbb106_4412_fea3_0743_68d0b7ed515a -->|calls| c88d6cb1_7d60_84ec_fd33_2f9130172b5a 16321679_85ac_7e6a_e9a2_dbb59cde6359["TestBindingFormForTime2()"] 16321679_85ac_7e6a_e9a2_dbb59cde6359 -->|calls| c88d6cb1_7d60_84ec_fd33_2f9130172b5a 2899e942_a23d_574e_8d47_d28e895c2604["requestWithBody()"] c88d6cb1_7d60_84ec_fd33_2f9130172b5a -->|calls| 2899e942_a23d_574e_8d47_d28e895c2604 style c88d6cb1_7d60_84ec_fd33_2f9130172b5a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/binding_test.go lines 982–998
func testFormBindingForTimeNotUnixFormat(t *testing.T, method, path, badPath, body, badBody string) {
b := Form
assert.Equal(t, "form", b.Name())
obj := FooStructForTimeTypeNotUnixFormat{}
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 = FooStructForTimeTypeNotUnixFormat{}
req = requestWithBody(method, badPath, badBody)
err = JSON.Bind(req, &obj)
require.Error(t, err)
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testFormBindingForTimeNotUnixFormat() do?
testFormBindingForTimeNotUnixFormat() is a function in the gin codebase.
What does testFormBindingForTimeNotUnixFormat() call?
testFormBindingForTimeNotUnixFormat() calls 1 function(s): requestWithBody.
What calls testFormBindingForTimeNotUnixFormat()?
testFormBindingForTimeNotUnixFormat() 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