(cell interface{})
| 222 | } |
| 223 | |
| 224 | func (qr *QueryResult) parsePath(cell interface{}) Path { |
| 225 | arrays := cell.([]interface{}) |
| 226 | nodes := qr.parseScalar(arrays[0].([]interface{})) |
| 227 | edges := qr.parseScalar(arrays[1].([]interface{})) |
| 228 | return PathNew(nodes.([]interface{}), edges.([]interface{})) |
| 229 | } |
| 230 | |
| 231 | func (qr *QueryResult) parseMap(cell interface{}) map[string]interface{} { |
| 232 | var raw_map = cell.([]interface{}) |
no test coverage detected