diff --git a/go/pkg/db/db.go b/go/pkg/db/db.go index acb2d347..93f094ec 100644 --- a/go/pkg/db/db.go +++ b/go/pkg/db/db.go @@ -16,6 +16,7 @@ type Options struct { } func New(opts Options) (*sql.DB, error) { + println(fmt.Sprintf("postgresql://%s:%s@%s:%s/%s", opts.User, opts.Password, opts.Host, opts.Port, opts.Database)) return sql.Open("pgx", fmt.Sprintf("postgresql://%s:%s@%s:%s/%s", opts.User, opts.Password, opts.Host, opts.Port, opts.Database)) }