6 ms·
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 righ
by dullgiulio 6y ago
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 https://golang.org/pkg/database/sql/#Rows.Err