Fix lint and format code in adapter/cache dir
This commit is contained in:
6
adapter/cache/redis/redis.go
vendored
6
adapter/cache/redis/redis.go
vendored
@@ -34,10 +34,8 @@ import (
|
||||
redis2 "github.com/beego/beego/v2/client/cache/redis"
|
||||
)
|
||||
|
||||
var (
|
||||
// DefaultKey the collection name of redis for cache adapter.
|
||||
DefaultKey = "beecacheRedis"
|
||||
)
|
||||
// DefaultKey the collection name of redis for cache adapter.
|
||||
var DefaultKey = "beecacheRedis"
|
||||
|
||||
// NewRedisCache create new redis cache with default collection name.
|
||||
func NewRedisCache() cache.Cache {
|
||||
|
||||
Reference in New Issue
Block a user