1
0
mirror of https://github.com/redis/go-redis.git synced 2025-12-18 23:34:11 +03:00
Files
go-redis/example/del-keys-without-ttl
Nedyalko Dyakov 674c7b8695 chore(go): update go version to 1.21 (#3640)
* chore(go): update go version to 1.21

* chore(aggregators): make aggregators work with 1.21

* fix doctests

* address copilot comments

* use atomic bool for logic and/or aggregators

* Update .github/workflows/build.yml

Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>

* use stable/oldstable, 1.23 and 1.21

* fix versions in README

* add oldstable in wordlist

---------

Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
2025-12-05 12:27:55 +02:00
..
2023-09-20 14:03:44 +03:00

Delete keys without a ttl

This example demonstrates how to use SCAN and pipelines to efficiently delete keys without a TTL.

To run this example:

go run .

See documentation for more details.