Ready to refine the context and router bean.
This commit is contained in:
7
code/core/global.go
Normal file
7
code/core/global.go
Normal file
@ -0,0 +1,7 @@
|
||||
package core
|
||||
|
||||
//该文件中记录的是应用系统中全局变量。主要有日志LOGGER和上下文CONTEXT
|
||||
|
||||
//日志系统必须高保
|
||||
//全局唯一的日志对象(在main函数中初始化)
|
||||
var LOGGER Logger
|
Reference in New Issue
Block a user