Home / Function/ ShouldBindWith() — gin Function Reference

ShouldBindWith() — gin Function Reference

Architecture documentation for the ShouldBindWith() function in context.go from the gin codebase.

Function go CoreEngine Context calls 1 called by 9

Entity Profile

Dependency Diagram

graph TD
  40896729_4925_f536_3001_ba3bf751dcb6["ShouldBindWith()"]
  65cc79b1_8edb_cd69_028d_79112318d9c7["MustBindWith()"]
  65cc79b1_8edb_cd69_028d_79112318d9c7 -->|calls| 40896729_4925_f536_3001_ba3bf751dcb6
  a5b2228e_8431_b678_2327_092462538103["ShouldBind()"]
  a5b2228e_8431_b678_2327_092462538103 -->|calls| 40896729_4925_f536_3001_ba3bf751dcb6
  65e3aa02_b1e7_d398_7b0f_1a52f8ae9f5d["ShouldBindJSON()"]
  65e3aa02_b1e7_d398_7b0f_1a52f8ae9f5d -->|calls| 40896729_4925_f536_3001_ba3bf751dcb6
  366feb71_056e_efe9_a070_9c5271f8577b["ShouldBindXML()"]
  366feb71_056e_efe9_a070_9c5271f8577b -->|calls| 40896729_4925_f536_3001_ba3bf751dcb6
  82b38c36_09a1_382e_2cee_dfdab9eacc66["ShouldBindQuery()"]
  82b38c36_09a1_382e_2cee_dfdab9eacc66 -->|calls| 40896729_4925_f536_3001_ba3bf751dcb6
  36aa24ac_56d4_42f7_da4c_1af9de2beccd["ShouldBindYAML()"]
  36aa24ac_56d4_42f7_da4c_1af9de2beccd -->|calls| 40896729_4925_f536_3001_ba3bf751dcb6
  59a6df26_07b1_5089_1152_81526294ecec["ShouldBindTOML()"]
  59a6df26_07b1_5089_1152_81526294ecec -->|calls| 40896729_4925_f536_3001_ba3bf751dcb6
  e40519d9_b269_1015_6899_6fa14d09b46d["ShouldBindPlain()"]
  e40519d9_b269_1015_6899_6fa14d09b46d -->|calls| 40896729_4925_f536_3001_ba3bf751dcb6
  14b266b4_ec58_1227_342e_3489746d3916["ShouldBindHeader()"]
  14b266b4_ec58_1227_342e_3489746d3916 -->|calls| 40896729_4925_f536_3001_ba3bf751dcb6
  aec92911_ee4b_8bcc_393e_355587f08835["Bind()"]
  40896729_4925_f536_3001_ba3bf751dcb6 -->|calls| aec92911_ee4b_8bcc_393e_355587f08835
  style 40896729_4925_f536_3001_ba3bf751dcb6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

context.go lines 919–921

func (c *Context) ShouldBindWith(obj any, b binding.Binding) error {
	return b.Bind(c.Request, obj)
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does ShouldBindWith() do?
ShouldBindWith() is a function in the gin codebase.
What does ShouldBindWith() call?
ShouldBindWith() calls 1 function(s): Bind.
What calls ShouldBindWith()?
ShouldBindWith() is called by 9 function(s): MustBindWith, ShouldBind, ShouldBindHeader, ShouldBindJSON, ShouldBindPlain, ShouldBindQuery, ShouldBindTOML, ShouldBindXML, and 1 more.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free