aboutsummaryrefslogtreecommitdiffstats
path: root/internal/storage/postgresql.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/storage/postgresql.go')
-rw-r--r--internal/storage/postgresql.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/storage/postgresql.go b/internal/storage/postgresql.go
index d93d014..08a9d3e 100644
--- a/internal/storage/postgresql.go
+++ b/internal/storage/postgresql.go
@@ -3,8 +3,6 @@ package storage
import (
"fmt"
"strings"
-
- "github.com/eugenetriguba/bolt/internal/configloader"
)
type PostgresqlAdapter struct{}
@@ -68,10 +66,3 @@ func (p PostgresqlAdapter) DatabaseName(executor sqlExecutor) (string, error) {
return name, nil
}
-
-func (p PostgresqlAdapter) CreateDSN(cfg configloader.ConnectionConfig) string {
- return fmt.Sprintf(
- "host=%s port=%s user=%s password=%s dbname=%s sslmode=disable",
- cfg.Host, cfg.Port, cfg.User, cfg.Password, cfg.DBName,
- )
-}