1
0
mirror of https://github.com/beego/bee.git synced 2024-12-22 15:10: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:
RS 2023-03-19 23:27:34 +01:00 committed by GitHub
parent ebb8c0ad31
commit 5aa9764e55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}}
)