caipin 4 년 전
부모
커밋
bdcb07bfc1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      datasource/dbhelper.go

+ 1 - 0
datasource/dbhelper.go

@@ -44,6 +44,7 @@ func NewDbMaster() *xorm.Engine {
 	debug := GetEnvInfo("Debug")
 	configFilePrefix := "config"
 	configFileName := fmt.Sprintf("%s-pro.yaml", configFilePrefix)
+	fmt.Println(debug)
 	if debug {
 		configFileName = fmt.Sprintf("%s-debug.yaml", configFilePrefix)
 	}