3 ms·
But you can not call methods on null interface values. In Go that is perfectly reasonable and safe to do.
by _ph_ 10y ago
But you can not call methods on null interface values. In Go that is perfectly reasonable and safe to do.
- deleted 10y ago[deleted]
- pcwalton 10y agoThat doesn't matter. Calling methods and performing comparisons are two different things. I covered this here: https://news.ycombinator.com/item?id=12522941 https://news.ycombinator.com/item?id=12522941