Shawn,

Thanks, it was an error on my side. The function actually returns an array 
of structs but an interface is not an array, so when I tried to return an 
array of interfaces, it crashed. I changed it from []interface{} to 
interface{} and it's working.

Thanks for the help.

On Tuesday, 28 June 2016 11:47:51 UTC-6, Shawn Milochik wrote:
>
> You could return an interface, or a []byte.
>


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