You're welcome. I think that using empty interfaces isn't the best way to
do it. I meant (but didn't specify) that you should make an interface that
both of your struct types satisfy, and return those instead.

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