From 194e1f4561f31fb7dda6d38a1932a2748b187495 Mon Sep 17 00:00:00 2001 From: Chris <125088905+wyattchris@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:36:57 -0400 Subject: [PATCH] lint errors --- backend/internal/storage/postgres/close.go | 4 +--- backend/internal/storage/storage.go | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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