feat: Optimize the Delete and ForceDelete methods of Orm #2493
Annotations
10 errors
Run Nilaway:
support/str/str.go#L810
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
Run Nilaway
read directly from variadic parameter `callback` sliced into
|
Run Nilaway:
database/gorm/event.go#L104
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
Run Nilaway
literal `nil` returned from `getDestOfMap()` in position 0
|
Run Nilaway
result 0 of `getDestOfMap()` written to at an index via the assignment(s):
|
Run Nilaway:
database/gorm/gorm.go#L55
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
Run Nilaway
unassigned variable `dialector` returned from `Make()` in position 0 via the assignment(s):
|
Run Nilaway
returned as result 0 from interface method `Dialector.Make()` (implemented by `DialectorImpl.Make()`)
|
Run Nilaway
result 0 of `Make()` sliced into via the assignment(s):
|
Run Nilaway:
database/gorm/query.go#L880
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
Loading