source code generator to create a instance of struct by name in golang