mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-15 16:34:44 +08:00
取消调试信息
This commit is contained in:
@@ -494,13 +494,10 @@ func (slf *DataSetList) UnMarshal(args ...interface{}) error {
|
|||||||
|
|
||||||
for _, out := range args {
|
for _, out := range args {
|
||||||
v := reflect.ValueOf(out)
|
v := reflect.ValueOf(out)
|
||||||
fmt.Print(v.Kind())
|
|
||||||
if v.Kind() != reflect.Ptr {
|
if v.Kind() != reflect.Ptr {
|
||||||
return errors.New("interface must be a pointer")
|
return errors.New("interface must be a pointer")
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Print(v.Kind())
|
|
||||||
fmt.Print(v.Elem().Kind())
|
|
||||||
if v.Kind() != reflect.Ptr {
|
if v.Kind() != reflect.Ptr {
|
||||||
return errors.New("interface must be a pointer")
|
return errors.New("interface must be a pointer")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user