caipin hace 4 años
padre
commit
bdcb07bfc1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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)
 	}