Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
halprin committed Aug 24, 2024
1 parent 818bd45 commit 910b5d9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 910b5d9

Please sign in to comment.