implement connect

This commit is contained in:
2025-04-08 12:43:35 +03:00
parent bdde401439
commit e2d1f65bb3

View File

@@ -210,6 +210,10 @@ func (ms *MenuStorageService) GetLogDb(ctx context.Context, mainDb db.Db, connSt
}
connStr = path.Join(connStr, section)
tgdbm := gdbmstorage.NewThreadGdbmDb()
err = tgdbm.Connect(ctx, connStr)
if err != nil {
return nil, err
}
return tgdbm, nil
}