https://github.com/laisky/go-redis
redis utils
https://github.com/laisky/go-redis
Last synced: about 1 month ago
JSON representation
redis utils
- Host: GitHub
- URL: https://github.com/laisky/go-redis
- Owner: Laisky
- License: mit
- Created: 2020-05-26T01:38:28.000Z (about 5 years ago)
- Default Branch: v2
- Last Pushed: 2025-03-20T18:55:41.000Z (3 months ago)
- Last Synced: 2025-04-30T04:50:03.503Z (about 1 month ago)
- Language: Go
- Size: 116 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redis Tools
Some redis utils depend on
```go
import (
gredis "github.com/Laisky/go-redis/v2"
"github.com/go-redis/redis"
)func main() {
rtils := NewRedisUtils(redis.NewClient(&redis.Options{}))
}
```## Features
- `getset.go`: common utils of get/set
- `sync.go`: distributed locks