Shawn, Thanks, I'll have to see how I can make that interface. Thanks for the guidance.
On 29 June 2016 at 13:42, Shawn Milochik <sh...@milochik.com> wrote: > 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 a topic in the > Google Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/OnRivRrXE40/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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.