3 ms·
Go also has https://golang.org/doc/faq#nil_error https://golang.org/doc/faq#nil_error, so interface != nil doesn't ensure it's safe to call any of its methods.
by erik_seaberg 7y ago
Go also has https://golang.org/doc/faq#nil_error https://golang.org/doc/faq#nil_error, so interface != nil doesn't ensure it's safe to call any of its methods.