GO - Handle dynamic type on json attributes using Decode instead of Unmarshall

前端 未结 0 1405
说谎
说谎 2020-12-03 07:47

I have an attribute that sometimes is a string, sometimes is an array of string - I don\'t have control about it. To handle it, I have wrote a code that works smooth if I ha

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