refactor(cool): 修复Logger变量名拼写错误 将全局Logger变量从Loger修正为Logger,统一日志实例命名规范, 确保所有模块中日志记录的一致性。 BREAKING CHANGE: 全局日志实例变量名从Loger改为Logger ```
23 lines
453 B
Go
23 lines
453 B
Go
package dict
|
|
|
|
import (
|
|
"blazing/cool"
|
|
|
|
_ "blazing/modules/dict/packed"
|
|
|
|
"github.com/gogf/gf/v2/os/gctx"
|
|
|
|
_ "blazing/modules/dict/controller"
|
|
"blazing/modules/dict/model"
|
|
)
|
|
|
|
func init() {
|
|
var (
|
|
ctx = gctx.GetInitCtx()
|
|
)
|
|
cool.Logger.Debug(ctx, "module dict init start ...")
|
|
cool.FillInitData(ctx, "dict", &model.DictInfo{}, nil)
|
|
cool.FillInitData(ctx, "dict", &model.DictType{}, nil)
|
|
cool.Logger.Debug(ctx, "module dict init finished ...")
|
|
}
|