多维map中key的问题

jayxtt999 · · 774 次点击
``` interface{}[]{ map[string]interface{}{"key":"value"}, map[string]interface{}{"key2":"value2"}, } ``` 但我绝对不会去这么写。
#2
更多评论
类似php可以这样玩 ``` $where = []; $where[] = ["key"=>"value"]; $where[] = ["key"=>"value"]; $where[] = ["key"=>"value"]; $where[] = ["key"=>"value"]; ```
#1