Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //Mode 运行模式 Mode = flag.String("mode", constant.DebugMode, "运行模式") //IsDebug 是否是调试模式 IsDebug = false //DataPath 数据目录 DataPath = pwd + "/data" //ProjPath 项目目录 ProjPath = DataPath + "/project" //GinLogFile Gin日志目录 GinLogFile = logPath + "/api" //TimeFormat 日志时间格式 TimeFormat = "2006/01/02 15:04:05" )
View Source
var ( //DB config DB *db //Github config Github *oauth //JWT config JWT *jwt //APP config APP *app //Email config Email *email )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.