package main
func test() {
arr := []string{
"1","2","3",
}
inter := ArrayToInterface(arr)
// inter?
}
func ArrayToInterface(t interface{}) interface{} {
return t
}
now we have a problem, that is, how to turn back an array from interface {}
.