#golang struct转数组
//转换数组类型 func coventArray(value interface{}) []interface{} {size := reflect.ValueOf(value).Len()list := make([]interface{},size)slice := reflect.ValueOf(value).Slice(0,size)for index := 0; index < size; index++ {list[index] = slice.Index(index).Interface()}return list }