minimock
minimock copied to clipboard
minimock's generated mocks fail staticcheck's SA5011 (possible nil pointer dereference)
I was trying to use minimock last week and found that the generated mocks were failing staticcheck's SA5011 - Possible nil pointer dereference.
Example:
cacher_mock_test.go:1921:65: possible nil pointer dereference (SA5011)
I ended up postponing using minimock for that reason but would love to revisit eventually.
Thanks!