I'm wondering why it's not possible to do something like 
this https://play.golang.org/p/UaRLUvhkgz

If a type implements an interface then why can that type not be returned 
with the method specifying the return type as the interface that it 
implements?

-- 
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.

Reply via email to