mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-19 01:58:00 +08:00
chore: clean import errors for beego update
This commit is contained in:
4
cache/cache.go
vendored
4
cache/cache.go
vendored
@@ -7,7 +7,7 @@ import (
|
||||
"errors"
|
||||
"time"
|
||||
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/beego/beego/v2/core/logs"
|
||||
"github.com/beego/beego/v2/client/cache"
|
||||
)
|
||||
|
||||
@@ -20,7 +20,7 @@ func Get(key string, e interface{}) error {
|
||||
val, err := bm.Get(nilctx, key)
|
||||
|
||||
if err != nil {
|
||||
return errors.New("get cache error:"+ err.Error())
|
||||
return errors.New("get cache error:" + err.Error())
|
||||
}
|
||||
|
||||
if val == nil {
|
||||
|
Reference in New Issue
Block a user