On Tue, Dec 20, 2016 at 12:45:33AM -0800, so.qu...@gmail.com wrote: > How would I cast type alias MyInt and interface Foo, to an int? > > https://play.golang.org/p/Sb80WoKh4Y
bar = int(foo.(MyInt)) Chris -- Nothing to see here. Move along. -- 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.