1
0
mirror of https://github.com/redis/go-redis.git synced 2025-11-15 21:21:05 +03:00
Files
go-redis/example/digest-optimistic-locking/main.go
Nedyalko Dyakov 5069fd6fa9 feat(cmd): Add CAS/CAD commands (#3583)
* add cas/cad commands

* feat(command): Add SetIFDEQ, SetIFDNE and *Get cmds

Decided to move the *Get argument as a separate methods, since the
response will be always the previous value, but in the case where
the previous value is `OK` there result may be ambiguous.

* fix tests

* matchValue to be interface{}

* Only Args approach for DelEx

* use uint64 for digest, add example

* test only for 8.4
2025-11-07 13:31:00 +02:00

7.2 KiB