data是[]map[string]string类型如何转换为[]map[string]interface{},求解
更多评论
```go
var src []map[string]string
var dest []map[string]interface{}
for i := range src {
m := src[i]
n := make(map[string]interface{})
for k,v := range m {
n[k] = interface{}(v)
}
dest = append(dest, n)
}
```
#1
![string.jpg](http://studygolang.qiniudn.com/160414/80c2f2883ef8adbb4a6a82351bb1ed32.jpg)
#2