How can I test if an element is of type Any (protobuf) in Go?

后端 未结 0 1673
小鲜肉
小鲜肉 2020-12-15 22:46

How can I test if an element of a structure is of type Any (protobuf): *any.Any, in Go? I want to go through each element of a structure, and do a switch case depending on

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