You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Potential nil panic detected. Observed nil flow from source to dereference point:
- gomock/controller.go:234:9: unassigned variable `rets` returned from `Call()` in position 0
- mocks/countryRepoMocks.go:46:13: result 0 of `Call()` sliced into via the assignment(s):
- `m.ctrl.Call(...)` to `ret` at mocks/countryRepoMocks.go:45:2
Expected behavior A clear and concise description of what you expected to
happen.
Perhaps: nilaway can skip mocks, or the mocks should test for 'ret' not being nil
To Reproduce Steps to reproduce the behavior
have a mock file where this is generated
run nilaway
nilaway ./...
Additional Information
mockgen -version
v0.4.0
go version
go version go1.22.1 darwin/arm64
Triage Notes for the Maintainers
The text was updated successfully, but these errors were encountered:
Actual behavior A clear and concise description of what the bug is.
generated code
Nilaway message:
Expected behavior A clear and concise description of what you expected to
happen.
Perhaps: nilaway can skip mocks, or the mocks should test for 'ret' not being nil
To Reproduce Steps to reproduce the behavior
have a mock file where this is generated
run nilaway
Additional Information
mockgen -version
v0.4.0
go version
go version go1.22.1 darwin/arm64
Triage Notes for the Maintainers
The text was updated successfully, but these errors were encountered: