Mock with postgres

This commit is contained in:
Eden Kirin
2024-06-23 18:35:52 +02:00
parent 13fe2222dd
commit 0fda3f6ef6
3 changed files with 45 additions and 52 deletions

4
go.mod
View File

@ -3,6 +3,8 @@ module repo-pattern
go 1.22.3
require (
github.com/DATA-DOG/go-sqlmock v1.5.2
github.com/go-playground/assert v1.2.1
github.com/google/uuid v1.6.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/mozillazg/go-slugify v0.2.0
@ -16,9 +18,7 @@ require (
require (
filippo.io/edwards25519 v1.1.0 // indirect
github.com/DATA-DOG/go-sqlmock v1.5.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-playground/assert v1.2.1 // indirect
github.com/go-sql-driver/mysql v1.8.1 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 // indirect