interface{}读取非常不方便,将其转换成map类型后就可以读取了
#res是个interface{}
res.(map[string]interface{})
参考:http://stackoverflow.com/questions/25214036/getting-invalid-operation-mymaptitle-type-interface-does-not-support-in
interface{}读取非常不方便,将其转换成map类型后就可以读取了
#res是个interface{}
res.(map[string]interface{})
参考:http://stackoverflow.com/questions/25214036/getting-invalid-operation-mymaptitle-type-interface-does-not-support-in
链接到文章: https://ixvps.com/43140.html