|
@@ -92,6 +92,10 @@ func toAnySlice(slice any) []any {
|
|
v := reflect.ValueOf(slice)
|
|
v := reflect.ValueOf(slice)
|
|
log.Println("kk", v.Kind())
|
|
log.Println("kk", v.Kind())
|
|
|
|
|
|
|
|
+ if v.Kind() == reflect.Ptr {
|
|
|
|
+ v = v.Elem()
|
|
|
|
+ }
|
|
|
|
+
|
|
// Check if the input is a slice
|
|
// Check if the input is a slice
|
|
if v.Kind() != reflect.Slice {
|
|
if v.Kind() != reflect.Slice {
|
|
return nil
|
|
return nil
|