diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-07-23 21:39:11 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-07-23 21:39:11 -0400 |
| commit | 5264264333f211c9d40108955e167d28fa73f77d (patch) | |
| tree | 6801a3d0460360bff5bc0b76ac482fa774e97043 /internal/storage/sqlite3.go | |
| parent | Fix contributing link (diff) | |
| download | cli-5264264333f211c9d40108955e167d28fa73f77d.zip | |
Use DSN for handling connection parameters
Diffstat (limited to 'internal/storage/sqlite3.go')
| -rw-r--r-- | internal/storage/sqlite3.go | 7 |
1 files changed, 0 insertions, 7 deletions
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 -} |