initialize

package
v0.0.0-...-b12e7ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

* @Author: drowningwhale 351231768@qq.com * @Date: 2023-09-29 17:28:33 * @LastEditors: drowningwhale 351231768@qq.com * @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 351231768@qq.com * @Date: 2023-09-29 17:28:59 * @LastEditors: drowningwhale 351231768@qq.com * @LastEditTime: 2023-09-30 08:21:30 * @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 351231768@qq.com * @Date: 2023-09-29 17:30:01 * @LastEditors: drowningwhale 351231768@qq.com * @LastEditTime: 2023-09-29 17:59:44 * @FilePath: \go-course\web_app\initialize\router.go * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE

* @Author: drowningwhale 351231768@qq.com * @Date: 2023-09-29 17:15:32 * @LastEditors: drowningwhale 351231768@qq.com * @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

View Source
var GinLog *zap.Logger

Functions

func GinLogger

func GinLogger(logger *zap.Logger) gin.HandlerFunc

func GinRecovery

func GinRecovery(logger *zap.Logger, stack bool) gin.HandlerFunc

GinRecovery recover掉项目可能出现的panic

func InitConfig

func InitConfig()

func InitLogger

func InitLogger()

func InitMysql

func InitMysql()

func InitRedis

func InitRedis()

func InitRouter

func InitRouter() *gin.Engine

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL