Skip to content

feat: Optimize the Delete and ForceDelete methods of Orm #2493

feat: Optimize the Delete and ForceDelete methods of Orm

feat: Optimize the Delete and ForceDelete methods of Orm #2493

Triggered via pull request September 24, 2024 14:03
Status Failure
Total duration 1m 26s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

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