csx 3 anni fa
parent
commit
7bd7cd435f
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      service/db.go

+ 2 - 0
service/db.go Vedi File

@@ -176,6 +176,8 @@ func ConnectDB() {
176 176
 
177 177
 	blDb, err = gorm.Open("mysql", bldsn)
178 178
 	if err != nil {
179
+		fmt.Println("12344")
180
+
179 181
 		fmt.Println(err)
180 182
 	}
181 183
 	blDb.DB().SetMaxIdleConns(10)