Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've tried it on my repository; for go if function is in format `func(...) (T, bool)` and you use it as `object, _ := func(...)` it reports as `Error return value is being ignored` even though it's clearly not an error being ignored (and ignoring the bool ok is a common pattern in go).


This is a false positive, can you please create an issue on GitHub and I will fix this.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: