mirror of
https://github.com/beego/bee.git
synced 2024-09-07 23:31:49 +00:00
Update apiapp.go
Clearly main function for var apiMainconngo uses "beeLogger.Log.Fatal("%s", err", resulting in an error when executing bee run. Issue is resolved by adding lib "beeLogger "github.com/beego/bee/v2/logger" to var apiMainconngo's import list.
This commit is contained in:
parent
ebb8c0ad31
commit
5aa9764e55
@ -94,6 +94,7 @@ import (
|
||||
_ "{{.Appname}}/routers"
|
||||
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
beeLogger "github.com/beego/bee/v2/logger"
|
||||
"github.com/beego/beego/v2/client/orm"
|
||||
{{.DriverPkg}}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user