From b05e751b012ba98c5c281b320f910455a8f52b0f Mon Sep 17 00:00:00 2001 From: mchavez Date: Tue, 27 Aug 2024 10:01:25 -0600 Subject: [PATCH] Refactoring code --- pkg/uhttp/dbcache.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/uhttp/dbcache.go b/pkg/uhttp/dbcache.go index 671d4e2d..67f2ab3b 100644 --- a/pkg/uhttp/dbcache.go +++ b/pkg/uhttp/dbcache.go @@ -13,7 +13,6 @@ import ( "path/filepath" "sort" "strings" - "sync" "time" _ "github.com/doug-martin/goqu/v9/dialect/sqlite3" @@ -30,7 +29,6 @@ type ICache interface { type DBCache struct { db *sql.DB - mu sync.RWMutex defaultExpiration time.Duration }