Given a struct:
type MyStruct struct {
A int
B int
}
and a string with the struct's name
a := "MyStruct"
or
a := "mypkg.MyStruct"
How do I create an instance of my struct from the string name rather than the struct? The idea is that I would create an application with all of the structures linked into the binary but create the runtime instances from the strings. (sort of a meta-meta)