TestMsgpackBindingBindBody() — gin Function Reference
Architecture documentation for the TestMsgpackBindingBindBody() function in msgpack_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD de995807_1a17_53e0_848d_1211b47e5d39["TestMsgpackBindingBindBody()"] 7944196d_a232_d55d_bb86_8e61431c770a["msgpackBody()"] de995807_1a17_53e0_848d_1211b47e5d39 -->|calls| 7944196d_a232_d55d_bb86_8e61431c770a style de995807_1a17_53e0_848d_1211b47e5d39 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/msgpack_test.go lines 18–26
func TestMsgpackBindingBindBody(t *testing.T) {
type teststruct struct {
Foo string `msgpack:"foo"`
}
var s teststruct
err := msgpackBinding{}.BindBody(msgpackBody(t, teststruct{"FOO"}), &s)
require.NoError(t, err)
assert.Equal(t, "FOO", s.Foo)
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does TestMsgpackBindingBindBody() do?
TestMsgpackBindingBindBody() is a function in the gin codebase.
What does TestMsgpackBindingBindBody() call?
TestMsgpackBindingBindBody() calls 1 function(s): msgpackBody.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free