On Mon, Aug 29, 2016 at 2:04 PM, Nate Finch <nate.fi...@gmail.com> wrote: > So, just a note... the CancelFunc type doesn't prevent you from passing in > any old func(), since those are considered effectively literals (IIRC), so > they can be automatically converted to the CancelFunc type. For example: > https://play.golang.org/p/QNbVXorlEQ
Ah, yes, you're right of course, my mistake. Either way, the point is that it's not about behavior (although it's not about being explicit as I suggested either, I suppose). —Sam -- Sam Whited pub 4096R/54083AE104EA7AD3 -- 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 an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.