Skip to content

Commit 3e70b67

Browse files
committed
gobatis aurora 日志统一替换为 zap 日志
1 parent d1f1343 commit 3e70b67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mapping.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,14 +477,14 @@ func scanWrite(values []reflect.Value, fieldIndexMap map[int]reflect.Value) {
477477
// 进行自定义 数据映射期间找不到对应的匹配处理器,将产生恐慌提示用户对这个数据类型应该提供一个处理注册
478478
// 没有找到对应的数据处理,可以通过 gobatis.GolangType 方法对 具体类型进行注册
479479
err := errors.New("The data processor corresponding to the '" + key + "' is not occupied. You need to register GolangType to support this type")
480-
Panic(err)
480+
panic(err)
481481
}
482482
if fun == nil {
483483
continue
484484
}
485485
err := fun(v, mapV.Elem().Interface())
486486
if err != nil {
487-
Panic(err)
487+
panic(err)
488488
}
489489
}
490490
}

0 commit comments

Comments
 (0)