This commit is contained in:
John Guo
2025-02-28 16:33:56 +08:00
parent d24245e068
commit 97c40a5879
3 changed files with 4 additions and 1 deletions

View File

@ -1741,7 +1741,7 @@ func Test_Issue4086(t *testing.T) {
},
})
})
return
gtest.C(t, func(t *gtest.T) {
type ProxyParam struct {
ProxyId int64 `json:"proxyId" orm:"proxy_id"`

View File

@ -336,6 +336,7 @@ func fuzzyMatchingFieldName(
}
// bindVarToStructField sets value to struct object attribute by name.
// each value to attribute converting comes into in this function.
func bindVarToStructField(
fieldValue reflect.Value,
srcValue interface{},

View File

@ -51,6 +51,8 @@ type CachedFieldInfoBase struct {
IsCommonInterface bool
// IsCustomConvert marks there custom converting function for this field type.
// A custom converting function is a function that user defined for converting specified type
// to another type.
IsCustomConvert bool
// StructField is the type info of this field.