This commit is contained in:
2024-05-14 12:10:58 +02:00
parent a9bb79b01c
commit 59911aebb9
645 changed files with 263320 additions and 0 deletions

15
vendor/github.com/zclconf/go-cty/cty/set/iterator.go generated vendored Normal file
View File

@@ -0,0 +1,15 @@
package set
type Iterator[T any] struct {
vals []T
idx int
}
func (it *Iterator[T]) Value() T {
return it.vals[it.idx]
}
func (it *Iterator[T]) Next() bool {
it.idx++
return it.idx < len(it.vals)
}