feat: 初始化项目

初始化项目
This commit is contained in:
yaoyilin
2022-10-31 23:08:33 +08:00
parent 1b36bd8fbe
commit d3dcba6489
7 changed files with 23 additions and 14 deletions

View File

@@ -17,8 +17,8 @@ import (
func main() {
// 开始调试模式
gin.SetMode(gin.ReleaseMode)
//gin.SetMode(gin.ReleaseMode)
gin.SetMode("debug")
// 实例化配置
config := cfg.Instance()
if config == nil {