trySetCustom() — gin Function Reference
Architecture documentation for the trySetCustom() function in form_mapping.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD fe1ce612_0a94_5769_acda_dde6219d8c6c["trySetCustom()"] 0bcba57f_f00e_ed0e_0516_ee30758711c8["form_mapping.go"] fe1ce612_0a94_5769_acda_dde6219d8c6c -->|defined in| 0bcba57f_f00e_ed0e_0516_ee30758711c8 a3bc6e41_4537_9cf9_f14c_d1a876a83af1["setByForm()"] a3bc6e41_4537_9cf9_f14c_d1a876a83af1 -->|calls| fe1ce612_0a94_5769_acda_dde6219d8c6c 258ae74c_d8fe_39e5_de46_9ff457fed54a["setWithProperType()"] 258ae74c_d8fe_39e5_de46_9ff457fed54a -->|calls| fe1ce612_0a94_5769_acda_dde6219d8c6c style fe1ce612_0a94_5769_acda_dde6219d8c6c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/form_mapping.go lines 191–197
func trySetCustom(val string, value reflect.Value) (isSet bool, err error) {
switch v := value.Addr().Interface().(type) {
case BindUnmarshaler:
return true, v.UnmarshalParam(val)
}
return false, nil
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does trySetCustom() do?
trySetCustom() is a function in the gin codebase, defined in binding/form_mapping.go.
Where is trySetCustom() defined?
trySetCustom() is defined in binding/form_mapping.go at line 191.
What calls trySetCustom()?
trySetCustom() is called by 2 function(s): setByForm, setWithProperType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free