I think that you want to write generic code in a language that doesn't have 
generics. 
Also, the description of the problem is incorrect. You describe how you want to 
solve the problem, my using pointers or changing the fields of structs, but you 
never describe the actual problem, how did you end up with that as a solution? 
What drove you to it?

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