var data = map[string]interface{}{
"json_received": [
{
"ezpOrderId": "ezp_123",
"firstName": "Vasanth",
"lastName": "K",
"orderDesc": "Sample"
}
]
"created_on": "03-22-2015",
"status": "1"
}
result, err := r.Table("order_json").Insert(data).RunWrite(session)
When i m tried to run this program i got the error as "missing operand" after "json_received":[ line.
Please help me to insert the data variable in rethink db via go programming..