Hi,

I've got structs containing custom types. I'm hoping to use reflect 
to create some fairly generic code to Validate() every field of a struct 
based on its type, but I can't seem to get the code right. Is this 
possible? I've set up a playground to show where I've gotten. 

https://play.golang.org/p/SgaGuLOjA4L

Thanks!
Boone

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