mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-28 23:20:10 +02:00
сделал GetOffsetFromGroupID()
This commit is contained in:
@@ -111,7 +111,8 @@ func Connect_WithApplicationName_err(ApplicationName string) error {
|
||||
Conn, err = pgx.ConnectConfig(ctx, config)
|
||||
|
||||
if err != nil {
|
||||
log.Panicln("Unable to connect to database host: ", Settings.DB_HOST, " Error: ", err)
|
||||
err = fmt.Errorf("ConnectConfig() error: %w", err)
|
||||
//log.Panicln("Unable to connect to database host: ", Settings.DB_HOST, " Error: ", err)
|
||||
}
|
||||
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user