Home / Function/ TrySet() — gin Function Reference

TrySet() — gin Function Reference

Architecture documentation for the TrySet() function in form_mapping.go from the gin codebase.

Function go DataBinding Validators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  28f27f7b_98e3_2633_4756_5d59d361ff59["TrySet()"]
  be2f0281_158f_19d5_81a3_7906a21c7875["tryToSetValue()"]
  be2f0281_158f_19d5_81a3_7906a21c7875 -->|calls| 28f27f7b_98e3_2633_4756_5d59d361ff59
  12913085_e498_18b3_5bda_a23669e608df["setByForm()"]
  28f27f7b_98e3_2633_4756_5d59d361ff59 -->|calls| 12913085_e498_18b3_5bda_a23669e608df
  style 28f27f7b_98e3_2633_4756_5d59d361ff59 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binding/form_mapping.go lines 75–77

func (form formSource) TrySet(value reflect.Value, field reflect.StructField, tagValue string, opt setOptions) (isSet bool, err error) {
	return setByForm(value, field, form, tagValue, opt)
}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does TrySet() do?
TrySet() is a function in the gin codebase.
What does TrySet() call?
TrySet() calls 1 function(s): setByForm.
What calls TrySet()?
TrySet() is called by 1 function(s): tryToSetValue.

Analyze Your Own Codebase

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

Try Supermodel Free