In Go, how do you create the instance of an object from its type at run time? I suppose you would also need to get the actual type
of the object first too?
I am trying to do lazy instantiation to save memory.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…