1
0
mirror of https://github.com/beego/bee.git synced 2025-06-11 18:40:40 +00:00

using beego v2

This commit is contained in:
Ming Deng
2020-12-14 13:08:47 +08:00
parent 9d68c302bd
commit cdb41fad3f
16 changed files with 38 additions and 38 deletions

View File

@ -35,8 +35,8 @@ import (
yaml "gopkg.in/yaml.v2"
"github.com/beego/beego/server/web/swagger"
"github.com/beego/beego/core/utils"
"github.com/beego/beego/v2/server/web/swagger"
"github.com/beego/beego/v2/core/utils"
beeLogger "github.com/beego/bee/logger"
)
@ -429,7 +429,7 @@ func analyseControllerPkg(localName, pkgpath string) {
if isSystemPackage(pkgpath) {
return
}
if pkgpath == "github.com/beego/beego/server/web" {
if pkgpath == "github.com/beego/beego/v2/server/web" {
return
}
if localName != "" {