issues
search
go-redis
/
cache
Cache library with Redis backend for Golang
https://redis.uptrace.dev/guide/go-redis-cache.html
BSD 2-Clause "Simplified" License
757
stars
95
forks
source link
Added ability to use KeepTTL/TTL/ExpiresAt using `SetArgs`
#106
Open
jh125486
opened
10 months ago
jh125486
commented
10 months ago
Updated corresponding test.
Removed
SetNX/SetXX
methods as they are deprecated.
Migrated to using
Mode
instead of
SetNX/SetXX
fields.
Bumped Go version to 1.21 (since 1.22 is a few weeks away).
Removed default TTL -> let the Redis package validate/normalize the TTL.
Updated pkgs.
Linted
interface{}
->
any
SetNX/SetXX
methods as they are deprecated.Mode
instead ofSetNX/SetXX
fields.interface{}
->any