mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 08:32:40 +08:00
update
This commit is contained in:
8
cache/readme.md
vendored
8
cache/readme.md
vendored
@ -14,6 +14,14 @@
|
||||
|
||||
## 使用方式
|
||||
|
||||
创建
|
||||
|
||||
```go
|
||||
cache.New().UseRedis().UseBigCache().Build()
|
||||
|
||||
```
|
||||
|
||||
```go
|
||||
Cache.Get(key, dist, func() (bool,error){}, options func(){})
|
||||
Cache.GetFn(context, key, dist, func() (bool, error))
|
||||
```
|
||||
|
Reference in New Issue
Block a user