--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi,Basically the idea is to find something similar to Java's Class.forName("some_type") or Ruby's "some_type".constantize in order to get a type constant at runtime. I know I could implement this behaviour with a switch/case statement, but for the purposes of the project I am working on, it would be a bit repetitive.
A more detailed example of what I am trying to accomplish here: http://play.golang.org/p/sJyCSf8anEThanks!
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.