package demo import ( _ "blazing/modules/space/controller" _ "blazing/modules/space/middleware" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gctx" ) func init() { var ( ctx = gctx.GetInitCtx() ) g.Log().Debug(ctx, "module space init start ...") g.Log().Debug(ctx, "module space init finished ...") }