RT
更多评论
大概就这个思路
```golang
func Interface2String(inputData []interface{}) map[int]string {
outputData := map[int]string{}
for key, value := range inputData {
switch value.(type) {
case string:
outputData[key] = value.(string)
case int:
tmp := value.(int)
outputData[key] = Int2Str(tmp)
case int64:
tmp := value.(int64)
outputData[key] = Int642Str(tmp)
}
}
return outputData
}
```
#2