mirror of
https://gitee.com/johng/gf
synced 2026-07-02 19:31:07 +08:00
up
This commit is contained in:
@ -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"`
|
||||
|
||||
@ -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{},
|
||||
|
||||
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user