From 1597c23f84346dfa44da9605286863b11006bdb5 Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Tue, 28 Nov 2023 18:32:19 -0500 Subject: added migrations via tern, updated db package to connect to pgsql db, updated config to build db connection string, updated example .newsstand.toml config, new pgx dependency --- go.mod | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index ff596ad..7ed3daf 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,16 @@ module gitlab.com/alexkavon/newsstand go 1.21.3 require ( - github.com/BurntSushi/toml v1.3.2 // indirect - github.com/go-chi/chi/v5 v5.0.10 // indirect + github.com/BurntSushi/toml v1.3.2 + github.com/go-chi/chi/v5 v5.0.10 + github.com/jackc/pgx/v5 v5.5.0 +) + +require ( + github.com/jackc/pgpassfile v1.0.0 // indirect + github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect + github.com/jackc/puddle/v2 v2.2.1 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/sync v0.5.0 // indirect + golang.org/x/text v0.14.0 // indirect ) -- cgit v1.2.3