Thank you Michael for that. I have written a small package to help with this kind of uncertainty :)
https://play.golang.org/p/vSnG-HGdrU On Mon, 2016-11-07 at 16:08 -0800, Michael Jones wrote: > Not precisely so…Interfaces, and type switches, and related > mechanisms are safe. Their type indeterminism is protected from the > program and their concretization is much like Schrodinger’s box…the > interface is any type until you look at it through a type switch or > type dereferencing…then it is a living concrete type of an expected > type or else, like the cat, your program is dead. -- 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.