Closed tonyghita closed 7 years ago
I am not sure about this. The receiver will only be nil if there is a programming error, such as ignoring the error returned when opening a database. As far as I can recall, only a few places in the Go standard library check for nil receiver, and those are almost alway places where nil is a legitimate value.
Yes, I think you're right. I'll close this... thanks for the library!
This change adds nil checks to exported methods of
Reader
, in order to prevent panics.