Hi,

I made an example to my problem:
https://play.golang.org/p/zVLH8J7EiP

But what i need is have some plugins that use an interface to return some 
data. But the plugin is auto inserted in a map of type:
map[string]reflect.TypeOf

or can be (will be better):
map[string]ICollector

After get the type by string of map i want create a new instance of it.

Can anyone help me?


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