mirror of
https://gitee.com/johng/gf
synced 2026-07-05 13:22:16 +08:00
improve function ScanList for package gdb
This commit is contained in:
@ -236,8 +236,8 @@ func (r Result) ScanList(listPointer interface{}, attributeName string, relation
|
||||
}
|
||||
attrValue.Set(e)
|
||||
|
||||
case reflect.Map:
|
||||
// TODO
|
||||
default:
|
||||
return fmt.Errorf(`unsupport attribute type: %s`, attrKind.String())
|
||||
}
|
||||
}
|
||||
reflect.ValueOf(listPointer).Elem().Set(arrayValue)
|
||||
|
||||
Reference in New Issue
Block a user