Re: [go-nuts] Run a method with nil pointer

2018-09-03 Thread andrey mirtchovski
Plenty of previous discussions on the subject. Here's an example from 2012: https://groups.google.com/d/msg/golang-nuts/wcrZ3P1zeAk/KaR68a8rROEJ I don't think reasoning has changed. On Mon, Sep 3, 2018 at 10:38 PM Dat Huynh wrote: > > Just a question. > > Why does Go allow to call a method with

[go-nuts] Run a method with nil pointer

2018-09-03 Thread Dat Huynh
Just a question. Why does Go allow to call a method with a nil pointer? https://play.golang.org/p/xPehesnfK9b Thanks, Dat. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send a