Fix lint and format code in client/cache dir
This commit is contained in:
6
client/cache/memory.go
vendored
6
client/cache/memory.go
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user