BSON() — gin Function Reference
Architecture documentation for the BSON() function in context.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD dc868146_10e5_dd59_9844_cb858e5b9016["BSON()"] 08757a7b_89f3_7a60_ac08_6c15ecf7b5bd["Negotiate()"] 08757a7b_89f3_7a60_ac08_6c15ecf7b5bd -->|calls| dc868146_10e5_dd59_9844_cb858e5b9016 3840d682_85a8_dc5c_2aa7_af7268c222ee["Render()"] dc868146_10e5_dd59_9844_cb858e5b9016 -->|calls| 3840d682_85a8_dc5c_2aa7_af7268c222ee style dc868146_10e5_dd59_9844_cb858e5b9016 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
context.go lines 1242–1244
func (c *Context) BSON(code int, obj any) {
c.Render(code, render.BSON{Data: obj})
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does BSON() do?
BSON() is a function in the gin codebase.
What does BSON() call?
BSON() calls 1 function(s): Render.
What calls BSON()?
BSON() is called by 1 function(s): Negotiate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free