我想知道是否有人可以解释如何解组我的changefeed游标值到一个特定的结构类型。 var message map[string]interface{}
for chatFeedCursor.Next(&message) {
fmt.Println(message)
}
地图[new_val:地图[club_id:ea2eb6e2-755f-4dad-922D-e3693b6
我有我的rethinkdb数据结构是这样的: {
"id":"123",
"otherId":"asd", <== based on this
"list": [
{
"id":"a",
"list_id":"1", <== and based on this
"status":"available" <