golang interface转成其余类型

//i为interface{},i.(须要转的类型) //示例 restlt := i.(map[string]interface{}) fmt.Println(restlt["id"])
相关文章
相关标签/搜索