Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Added Postgres mocking for easier testing
Browse files Browse the repository at this point in the history
  • Loading branch information
denverquane committed May 5, 2022
1 parent d92f6a1 commit 3341e2b
Show file tree
Hide file tree
Showing 5 changed files with 304 additions and 94 deletions.
24 changes: 3 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,15 @@ require (
github.com/georgysavva/scany v0.2.7
github.com/go-redis/redis/v8 v8.4.2
github.com/gorilla/websocket v1.4.1 // indirect
github.com/jackc/pgx/v4 v4.10.0
github.com/jackc/pgx/v4 v4.16.0
github.com/nicksnyder/go-i18n/v2 v2.1.1
golang.org/x/text v0.3.7
)

require github.com/top-gg/go-dbl v0.0.0-20201116001615-e844586b1159

require (
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.8.0 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.0.6 // indirect
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
github.com/jackc/pgtype v1.6.2 // indirect
github.com/jackc/puddle v1.1.3 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/objx v0.2.0 // indirect
github.com/stretchr/testify v1.6.1 // indirect
github.com/jackc/pgconn v1.12.0 // indirect
github.com/pashagolub/pgxmock v1.5.0
go.opentelemetry.io/otel v0.15.0 // indirect
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f // indirect
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)
Loading

0 comments on commit 3341e2b

Please sign in to comment.