From 5264264333f211c9d40108955e167d28fa73f77d Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Wed, 23 Jul 2025 21:39:11 -0400 Subject: Use DSN for handling connection parameters --- internal/storage/sqlite3.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'internal/storage/sqlite3.go') diff --git a/internal/storage/sqlite3.go b/internal/storage/sqlite3.go index 877dc7e..eff72af 100644 --- a/internal/storage/sqlite3.go +++ b/internal/storage/sqlite3.go @@ -2,8 +2,6 @@ package storage import ( "fmt" - - "github.com/eugenetriguba/bolt/internal/configloader" ) type SqliteAdapter struct{} @@ -41,8 +39,3 @@ func (s SqliteAdapter) TableExists( func (s SqliteAdapter) DatabaseName(executor sqlExecutor) (string, error) { return "main", nil } - -func (s SqliteAdapter) CreateDSN(cfg configloader.ConnectionConfig) string { - // Note: Use the dbname as the sqlite db name/path - return cfg.DBName -} -- cgit v1.2.3