Re: [go-nuts] Creating struct through a dynamic var

2017-02-07 Thread Justin Israel
On Wed, Feb 8, 2017 at 2:55 PM wrote: > Hello, > > I am having several structures with the same interface and I need to > declare them based on an sql value. On some languages it is possible to do > something like: > > variable struct_name="MyStruct" > object:= new struct_name{} > > I was wonderi

[go-nuts] Creating struct through a dynamic var

2017-02-07 Thread emartinez1847
Hello, I am having several structures with the same interface and I need to declare them based on an sql value. On some languages it is possible to do something like: variable struct_name="MyStruct" object:= new struct_name{} I was wondering if its possible to do something similar in Go? Other