new operator 'map' ans general variable access by ${}

This commit is contained in:
2026-04-24 20:11:25 +02:00
parent 20d8236325
commit 6ee365bacc
10 changed files with 134 additions and 23 deletions
+1 -3
View File
@@ -16,9 +16,7 @@ func NewIterator(value any) (it Iterator, err error) {
it, err = NewDictIterator(v, nil)
case []any:
it = NewArrayIterator(v)
case *ListIterator:
it = v
case *DictIterator:
case Iterator:
it = v
default:
it = NewArrayIterator([]any{value})