Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laisky/go-redis

redis utils
https://github.com/laisky/go-redis

Last synced: 17 days ago
JSON representation

redis utils

Awesome Lists containing this project

README

        

# Redis Tools

Some redis utils depend on

```go
import (
gredis "github.com/Laisky/go-redis"
"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