Change DataType of an Interface in Golang

后端 未结 0 723
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-10 01:11

Here\'s the question I have. I\'m trying to determine what datatype a passed in interface is and then assign declare a new object with that data type. Here\'s the example:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题