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

I presume an example would be something like remembering to check `rows.Err()` in `package sql` at the end of iterating through all rows. If you check the error each iteration while calling `rows.Scan()` but forget to check the `rows.Err()` at the end, it could potentially be much, much later that you find out something went wrong.


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

Search: