1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-28 23:20:10 +02:00

сделал //var log = logger.GetLog()

This commit is contained in:
Nikitin Aleksandr
2025-04-03 15:43:33 +03:00
parent 8ee7b43338
commit 9ac89940cf
19 changed files with 38 additions and 38 deletions

View File

@@ -5,7 +5,7 @@ package postgres_connect
import (
"context"
"errors"
"github.com/ManyakRus/starter/logger"
"github.com/ManyakRus/starter/log"
"github.com/ManyakRus/starter/port_checker"
"github.com/jmoiron/sqlx"
_ "github.com/lib/pq"
@@ -22,7 +22,7 @@ import (
var Conn *sqlx.DB
// log - глобальный логгер
var log = logger.GetLog()
//var log = logger.GetLog()
// mutexReconnect - защита от многопоточности Reconnect()
var mutexReconnect = &sync.Mutex{}