How to store array element values in struct golang?

后端 未结 0 1975
轻奢々
轻奢々 2020-12-14 06:52

I want to accomplish a structure such as this for however many members are on your team.

[
{name: \'string\', role: \'captain\'},
{name: \'string 2\', role: \         


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