TestBindingMsgPack() — gin Function Reference
Architecture documentation for the TestBindingMsgPack() function in binding_msgpack_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 4c69a15d_2417_26dc_5154_5f46e2f72360["TestBindingMsgPack()"] 5f71fa77_a184_190d_b163_8d11fc6e5529["testMsgPackBodyBinding()"] 4c69a15d_2417_26dc_5154_5f46e2f72360 -->|calls| 5f71fa77_a184_190d_b163_8d11fc6e5529 style 4c69a15d_2417_26dc_5154_5f46e2f72360 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/binding_msgpack_test.go lines 19–37
func TestBindingMsgPack(t *testing.T) {
test := FooStruct{
Foo: "bar",
}
h := new(codec.MsgpackHandle)
assert.NotNil(t, h)
buf := bytes.NewBuffer([]byte{})
assert.NotNil(t, buf)
err := codec.NewEncoder(buf, h).Encode(test)
require.NoError(t, err)
data := buf.Bytes()
testMsgPackBodyBinding(t,
MsgPack, "msgpack",
"/", "/",
string(data), string(data[1:]))
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does TestBindingMsgPack() do?
TestBindingMsgPack() is a function in the gin codebase.
What does TestBindingMsgPack() call?
TestBindingMsgPack() calls 1 function(s): testMsgPackBodyBinding.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free