diff --git a/backend/internal/storage/postgres/close.go b/backend/internal/storage/postgres/close.go index b4924c5..8f73509 100644 --- a/backend/internal/storage/postgres/close.go +++ b/backend/internal/storage/postgres/close.go @@ -1,7 +1,5 @@ package postgres -import "context" - -func (db *DB) Close(ctx context.Context) { +func (db *DB) Close() { db.conn.Close() } diff --git a/backend/internal/storage/storage.go b/backend/internal/storage/storage.go index 025a0b2..5bea59f 100644 --- a/backend/internal/storage/storage.go +++ b/backend/internal/storage/storage.go @@ -8,7 +8,7 @@ import ( ) type Storage interface { - Close(context.Context) + Close() Test UserRating Venues