TestBindingBSON() — gin Function Reference
Architecture documentation for the TestBindingBSON() function in binding_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 03acf29c_fc8e_9fdf_bb65_8f3081cb59c7["TestBindingBSON()"] 314c6481_2bd0_e5a7_282c_94e41df6062a["binding_test.go"] 03acf29c_fc8e_9fdf_bb65_8f3081cb59c7 -->|defined in| 314c6481_2bd0_e5a7_282c_94e41df6062a 2726b89c_90f4_05b5_9dc0_ce5de910b509["testBodyBinding()"] 03acf29c_fc8e_9fdf_bb65_8f3081cb59c7 -->|calls| 2726b89c_90f4_05b5_9dc0_ce5de910b509 style 03acf29c_fc8e_9fdf_bb65_8f3081cb59c7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/binding_test.go lines 738–748
func TestBindingBSON(t *testing.T) {
var obj FooStruct
obj.Foo = "bar"
data, _ := bson.Marshal(&obj)
testBodyBinding(t,
BSON, "bson",
"/", "/",
string(data),
// note: for badbody, we remove first byte to make it invalid
string(data[1:]))
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does TestBindingBSON() do?
TestBindingBSON() is a function in the gin codebase, defined in binding/binding_test.go.
Where is TestBindingBSON() defined?
TestBindingBSON() is defined in binding/binding_test.go at line 738.
What does TestBindingBSON() call?
TestBindingBSON() calls 1 function(s): testBodyBinding.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free