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

@@ -25,10 +25,8 @@ import (
"github.com/beego/beego/v2/core/berror"
)
var (
// Timer for how often to recycle the expired cache items in memory (in seconds)
DefaultEvery = 60 // 1 minute
)
// DefaultEvery sets a timer for how often to recycle the expired cache items in memory (in seconds)
var DefaultEvery = 60 // 1 minute
// MemoryItem stores memory cache item.
type MemoryItem struct {