Home / Function/ BindUri() — gin Function Reference

BindUri() — gin Function Reference

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

Function go CoreEngine Context calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  6d669e86_f8e3_8168_f834_5aad1d7da1d1["BindUri()"]
  757a173e_fa67_db2c_fa9d_954b63527b2b["ShouldBindUri()"]
  757a173e_fa67_db2c_fa9d_954b63527b2b -->|calls| 6d669e86_f8e3_8168_f834_5aad1d7da1d1
  757a173e_fa67_db2c_fa9d_954b63527b2b["ShouldBindUri()"]
  6d669e86_f8e3_8168_f834_5aad1d7da1d1 -->|calls| 757a173e_fa67_db2c_fa9d_954b63527b2b
  3dc48013_1241_230c_bac7_039eeb595a5e["AbortWithError()"]
  6d669e86_f8e3_8168_f834_5aad1d7da1d1 -->|calls| 3dc48013_1241_230c_bac7_039eeb595a5e
  style 6d669e86_f8e3_8168_f834_5aad1d7da1d1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

context.go lines 799–805

func (c *Context) BindUri(obj any) error {
	if err := c.ShouldBindUri(obj); err != nil {
		c.AbortWithError(http.StatusBadRequest, err).SetType(ErrorTypeBind) //nolint: errcheck
		return err
	}
	return nil
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does BindUri() do?
BindUri() is a function in the gin codebase.
What does BindUri() call?
BindUri() calls 2 function(s): AbortWithError, ShouldBindUri.
What calls BindUri()?
BindUri() is called by 1 function(s): ShouldBindUri.

Analyze Your Own Codebase

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

Try Supermodel Free