There are two ways, one is to use reflection, the other would be to use unsafe 
to convert the slice value into another structure then extract the length 

Assuming that you could write a Len function as you specified, what would you 
do next? What problem are you trying to solve?

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 
For more options, visit

Reply via email to