How can I create an object when I am only having its type in string? I am looking for something like:
type someStruct struct {}
resultObject := new "someStruct"
It will be really helpful and convenience with this when using different ORM library like GORP and GORM.
Is it possible to do it in Golang?