go-redis icon indicating copy to clipboard operation
go-redis copied to clipboard

Use iter.Seq to iterate over ScanIterator

Open khasanovbi opened this issue 7 months ago • 2 comments

Support for native iterators has been added in go 1.23. New Vals method added that return keys iterator directly instead of keys through Next, Val pair. Minimum go version changed to 1.23.

khasanovbi avatar Apr 17 '25 00:04 khasanovbi

https://github.com/redis/go-redis/issues/3347

khasanovbi avatar Apr 17 '25 00:04 khasanovbi

Hmm, interesting why json tests failed...

khasanovbi avatar Apr 17 '25 01:04 khasanovbi