• 2018-03-14 15:20:36 评论了主题 匿名结构体初始化问题

    a.B = append(a.B, struct{ Name string }{Name:"b" })

    还要注意一点的是,有tag和无tag属于不同类型

    type A struct...