Documentation
¶
Overview ¶
* @Author: drowningwhale [email protected] * @Date: 2023-09-29 17:28:33 * @LastEditors: drowningwhale [email protected] * @LastEditTime: 2023-09-29 19:40:08 * @FilePath: \go-course\web_app\initialize\mysql.go * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Author: drowningwhale [email protected] * @Date: 2023-09-29 17:28:59 * @LastEditors: drowningwhale [email protected] * @LastEditTime: 2023-09-30 13:05:48 * @FilePath: \go-course\web_app\initialize\redis.go * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Author: drowningwhale [email protected] * @Date: 2023-09-29 17:30:01 * @LastEditors: drowningwhale [email protected] * @LastEditTime: 2023-10-01 17:08:01 * @FilePath: \go-course\web_app\initialize\router.go * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AER
* @Author: drowningwhale [email protected] * @Date: 2023-09-29 17:15:32 * @LastEditors: drowningwhale [email protected] * @LastEditTime: 2023-09-29 20:23:50 * @FilePath: \go-course\web_app\settings\settings.go * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
Index ¶
Constants ¶
This section is empty.
Variables ¶
var GinLog *zap.Logger
Functions ¶
func GinRecovery ¶
func GinRecovery(logger *zap.Logger, stack bool) gin.HandlerFunc
GinRecovery recover掉项目可能出现的panic
func InitConfig ¶
func InitConfig()
func InitLogger ¶
func InitLogger()
func InitRouter ¶
func InitSnowFlake ¶
Types ¶
This section is empty.