Fix lint and format code in client/cache dir

This commit is contained in:
loyalsoldier
2021-06-06 20:38:02 +08:00
parent ca328208cc
commit a87f8ec82a
9 changed files with 23 additions and 28 deletions

View File

@@ -43,10 +43,8 @@ import (
"github.com/beego/beego/v2/core/berror"
)
var (
// The collection name of redis for the cache adapter.
DefaultKey = "beecacheRedis"
)
// DefaultKey defines the collection name of redis for the cache adapter.
var DefaultKey = "beecacheRedis"
// Cache is Redis cache adapter.
type Cache struct {