From 910b5d98052982286033e4810e8a0da574dca250 Mon Sep 17 00:00:00 2001 From: halprin Date: Sat, 24 Aug 2024 13:18:20 -0600 Subject: [PATCH] Remove commented code --- internal/generator/generator.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/generator/generator.go b/internal/generator/generator.go index 84350c3..f2eea8e 100644 --- a/internal/generator/generator.go +++ b/internal/generator/generator.go @@ -74,12 +74,6 @@ func FromMap(aMap interface{}) func() (interface{}, error) { } func FromIterator[T any](anIterator iter.Seq[T]) func() (interface{}, error) { - //if !helper.IsIterator(anIterator) { - // panic("non-iterator type provided") - //} - // - //sequence := anIterator.(iter.Seq[any]) - next, stop := iter.Pull(anIterator) return func() (interface{}, error) {