> 1.- How could I store a reference to this type?
>
> 2.- How can I create instances of this type by using the reference?
Brad suggests considering reflection, but another way to do something
that might be like what you want is to use functions -- you can write a
make-me function for the type and pass that around and call it when
you need to generate a value
func makeMyType() interface{} { return MyType{...} }
Chris
--
Chris "allusive" Dollin
Is there a way to reference a user-defined type and then instantiate this type dynamically in Go?
http://play.golang.org/p/tgXdmlQR97