How to Marshal struct as if it was an anonymous struct?

前端 未结 0 1956
执笔经年
执笔经年 2020-12-11 05:49

The documentation states: Anonymous struct fields are usually marshaled as if their inner exported fields were fields in the outer struct.

For examble:



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