TestBindingBSON() — gin Function Reference
Architecture documentation for the TestBindingBSON() function in binding_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 334d51a9_6da7_2cb8_1d0e_a77cc2fd6c7f["TestBindingBSON()"] d12d65c3_6731_35cd_4722_5cc44c314d21["testBodyBinding()"] 334d51a9_6da7_2cb8_1d0e_a77cc2fd6c7f -->|calls| d12d65c3_6731_35cd_4722_5cc44c314d21 style 334d51a9_6da7_2cb8_1d0e_a77cc2fd6c7f 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
Calls
Source
Frequently Asked Questions
What does TestBindingBSON() do?
TestBindingBSON() is a function in the gin codebase.
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