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

That sentence is very misleading. Nobody checks the Close() error because the right thing to do is to call Err() like with the text.Scanner.

I suspect the right github code search would reveal way less buggy code.

https://golang.org/pkg/database/sql/#Rows.Err



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

Search: