1
This commit is contained in:
parent
a739b0223e
commit
26d8a01994
@ -166,6 +166,9 @@ func UnmarshalModelList[T any](ds *DataSet, models *[]*T) error {
|
||||
return resultErr
|
||||
}
|
||||
|
||||
/*
|
||||
目前不支持指针!!!
|
||||
*/
|
||||
func UnmarshalModel[T any](ds *DataSet, m *T) error {
|
||||
mType := reflect.TypeOf(m).Elem()
|
||||
mVal := reflect.ValueOf(m).Elem()
|
||||
|
Loading…
x
Reference in New Issue
Block a user