msgpackBody() — gin Function Reference
Architecture documentation for the msgpackBody() function in msgpack_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 7944196d_a232_d55d_bb86_8e61431c770a["msgpackBody()"] de995807_1a17_53e0_848d_1211b47e5d39["TestMsgpackBindingBindBody()"] de995807_1a17_53e0_848d_1211b47e5d39 -->|calls| 7944196d_a232_d55d_bb86_8e61431c770a style 7944196d_a232_d55d_bb86_8e61431c770a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/msgpack_test.go lines 28–34
func msgpackBody(t *testing.T, obj any) []byte {
var bs bytes.Buffer
h := &codec.MsgpackHandle{}
err := codec.NewEncoder(&bs, h).Encode(obj)
require.NoError(t, err)
return bs.Bytes()
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does msgpackBody() do?
msgpackBody() is a function in the gin codebase.
What calls msgpackBody()?
msgpackBody() is called by 1 function(s): TestMsgpackBindingBindBody.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free