chore: clean import errors for beego update

This commit is contained in:
roberChen
2021-03-24 00:28:13 +08:00
parent 90c1329de2
commit 9babd8106c
25 changed files with 169 additions and 175 deletions

4
cache/cache.go vendored
View File

@@ -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 {